ableegoldman opened a new pull request, #15508: URL: https://github.com/apache/kafka/pull/15508
Something I noticed while working on a new feature -- this class has deprecated its hashcode and actually goes so far as to throw an exception if/when it's invoked. The deprecation note claims this is because the class is mutable, but I don't actually see this happening anywhere in the code. The _reference_ to this object is modified during processing (by the ProcessorContext), but the object itself has no setters and all fields are private. Given the deprecation was years ago, I'm guessing we simply changed from mutating the actual record context object to mutating the reference stored by the ProcessorContext sometime in the past few years, and forgot to remove this deprecation/exception -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org