GitHub user guozhangwang opened a pull request: https://github.com/apache/kafka/pull/1929
HOTFIX: do not call partitioner if num partitions is non-positive You can merge this pull request into a Git repository by running: $ git pull https://github.com/guozhangwang/kafka KMinor-check-zero-num-partitions Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1929.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 #1929 ---- commit 3127f9c48efafc361aca378c2c52b6a9b420e6f8 Author: Guozhang Wang <wangg...@gmail.com> Date: 2016-09-28T21:34:00Z do not call partitioner if num partitions is non-positive ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---