I applied the change in the pull request associated with that Kafka bug, and unfortunately it didn't resolve anything. It doesn't unregister any additional MBeans which are created by Kafka's JmxRepository -- it is just a fix to the remove mbeans from Kafka's cache of mbeans (i.e. it is doing cleanup within the job's ChildFirst classloader, not the bootstrap/App classloader where the strong reference exists).
-- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/