GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/1118
KAFKA-3432; Cluster.update() thread-safety
Replace `update` with `withPartitions`, which returns a
copy instead of mutating the instance.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka
kafka-3432-cluster-update-thread-safety
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1118.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 #1118
----
commit c76566f4cfeb25a757c223f63e13d81e33806d68
Author: Ismael Juma <[email protected]>
Date: 2016-03-23T01:47:30Z
KAFKA-3432; Cluster.update() thread-safety
Replace `update` with `withPartitions` that returns a
copy instead of mutating the instance.
----
---
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.
---