[GitHub] kafka pull request #2697: MINOR: fixed memory pollution in KafkaConsumer

2017-03-19 Thread wlsc
Github user wlsc closed the pull request at: https://github.com/apache/kafka/pull/2697 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enable

[GitHub] kafka pull request #2697: MINOR: fixed memory pollution in KafkaConsumer

2017-03-16 Thread wlsc
GitHub user wlsc opened a pull request: https://github.com/apache/kafka/pull/2697 MINOR: fixed memory pollution in KafkaConsumer This PL fixes memory pollution in KafkaConsumer by removing creation of the unnecessary HashSet each time we need to create unmodifiableSet and using unm