GitHub user edoardocomar opened a pull request: https://github.com/apache/kafka/pull/4204
KAFKA-5238: BrokerTopicMetrics can be recreated after topic is deleted Avoiding a DelayedFetch recreate the metrics when a topic has been deleted developed with @mimaison added unit test borrowed from @ijuma JIRA You can merge this pull request into a Git repository by running: $ git pull https://github.com/edoardocomar/kafka KAFKA-5238 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4204.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4204 ---- commit 4e0cee4c81d8bc85ca35d59b927d797330234aab Author: Edoardo Comar <eco...@uk.ibm.com> Date: 2017-11-10T17:09:18Z KAFKA-5238: BrokerTopicMetrics can be recreated after topic is deleted Avoiding a DelayedFetch recreate the metrics when a topic has been deleted developed with @mimaison ---- ---