hgeraldino opened a new pull request, #22390: URL: https://github.com/apache/kafka/pull/22390
Cached partition leader mappings previously lived forever, which could cause AdminClient operations to target stale brokers after leadership changes. This PR adds a TTL (driven by `metadata.max.age.ms`) so that expired entries are transparently filtered out of get() results, forcing a fresh metadata lookup for those -- 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]
