GitHub user tedyu opened a pull request: https://github.com/apache/kafka/pull/3925
KAFKA-5911 Avoid creation of extra Map for futures in KafkaAdminClient This reduces creation of garbage while keeping thread safety untouched. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tedyu/kafka trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3925.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 #3925 ---- commit b53379ed9a327b2c195dffc4c5d537fb0a0ace13 Author: tedyu <yuzhih...@gmail.com> Date: 2017-09-20T21:09:21Z KAFKA-5911 Avoid creation of extra Map for futures in KafkaAdminClient ---- ---