GitHub user mjsax opened a pull request:
https://github.com/apache/kafka/pull/2868
Minor fix record collector
If `partition==null` and `partitioner!=null` we should not fall back to
default partitioner (as we do before the patch if `producer.partitionsFor(...)`
return empty list. Falling back to default partitioner will corrupt
partitioning.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mjsax/kafka minor-fix-RecordCollector
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2868.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 #2868
----
commit 5d2bda7cfcc53fba94cea05433aa196df03cb3d9
Author: Matthias J. Sax <[email protected]>
Date: 2017-04-19T02:31:32Z
Fix RecordCollector
commit e667a9d8e7ef65ee775f61e6b5bec7f763ed87f6
Author: Matthias J. Sax <[email protected]>
Date: 2017-04-19T02:44:07Z
code cleanup
----
---
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.
---