cadonna commented on PR #15508:
URL: https://github.com/apache/kafka/pull/15508#issuecomment-1988235647

   @ableegoldman I had a quick look at the code and theoretically 
`ProcessorRecordContext` is mutable because `headers()` returns a reference to 
the object of `Headers` stored internally. With 
`recordContext.headers().remove("myHeader")` the headers in an instance of 
`ProcessorRecordContext` can be modified. 
   Said that, I have no idea whether this was the reason for the deprecation.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to