GitHub user yaojuncn reopened a pull request:
https://github.com/apache/kafka/pull/2128
KAFKA-4402: make the KafkaProducer true round robin per topic
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yaojuncn/kafka
KAFKA-4402-client-producer-round-robin-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2128.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 #2128
----
commit d74b0bd4d712223da38b3f2e666e4611bf65b455
Author: yaojuncn <[email protected]>
Date: 2016-11-13T21:46:44Z
KAFKA-4402: make the KafkaProducer true round robin per topic
commit fdd946a0969ef9aed9f8e4bcb8ea095b81107411
Author: yaojuncn <[email protected]>
Date: 2016-11-13T22:18:09Z
KAFKA-4402: fix some style issues
commit f978b50b58ff14ee41a0d7b360073bf4671c2bc2
Author: yaojuncn <[email protected]>
Date: 2016-11-14T05:26:00Z
[KAFKA-4402] add performance test for round-robin default partitioner,
the perf test result on my own laptop is: "avg partition
time(ms)=0.000109", so it's pretty fast with very low overhead that can be
ignored,
anyway, from code perspective it only added one ConcurrentHashMap.get(topic)
commit f9ca41152b6241ead91b663289198a58ef0454d5
Author: yaojuncn <[email protected]>
Date: 2016-11-19T05:38:37Z
Merge branch 'trunk' into KAFKA-4402-client-producer-round-robin-fix
----
---
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.
---