GitHub user rajinisivaram opened a pull request:
https://github.com/apache/kafka/pull/735
KAFKA-3065: Remove unused topic partitions from RecordAccumulator
Removes unused topic partitions from RecordAccumulator#batches to prevent
the map growing indefinitely. Replaces CopyOnWriteMap with ConcurrentHashMap to
support deletes without double locking. Producer performance tests show no
significant difference.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rajinisivaram/kafka KAFKA-3065
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/735.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 #735
----
commit 321aab4207673de26593dcdc00246fe0ca6b6c59
Author: Rajini Sivaram <[email protected]>
Date: 2016-01-05T20:24:27Z
KAFKA-3065: Remove unused topic partitions from RecordAccumulator
----
---
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 enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---