rondagostino opened a new pull request, #13532: URL: https://github.com/apache/kafka/pull/13532
`FinalizedFeatureChangeListener` shuts the broker down when it encounters an issue trying to process feature change events, but it does not distinguish between issues related to feature changes actually failing and other exceptions like ZooKeeper session expiration. This introduces the possibility that Zookeeper session expiration could cause the broker to shutdown, which is not intended. This patch updates the code to distinguish between these two types of exceptions and in the case of something like a ZK session expiration it logs a warning and continues. We shutdown the broker only for `FeatureCacheUpdateException`. ### 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org