fabien-chebel opened a new pull request, #12541: URL: https://github.com/apache/kafka/pull/12541
Context ------- Since updating to kafka client 3.0.1, we noticed quite a lot of new info-level logs generated by `org.apache.kafka.clients.Metadata`. The logs look like this: ``` [Producer clientId=producer-1] Resetting the last seen epoch of partition user-3 to 2044 since the associated topicId changed from null to O5w7zNcCTpKdylvkOUMesQ ``` They appear at seemingly random times, while keeping the same last seen epoch value. Proposed fix ------------ As suggested in https://github.com/apache/kafka/pull/12378, I am updating the code condition to avoid generating a log when the last seen epoch reset operation is a no-op. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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]
