GitHub user vahidhashemian opened a pull request: https://github.com/apache/kafka/pull/1839
KAFKA-4135: Consumer polls when not subscribed to any topic or assigned any partition should raise an exception When the consumer is not subscribed to any topic or, in the case of manual assignment, is not assigned any partition, calling `poll()` should raise an exception. You can merge this pull request into a Git repository by running: $ git pull https://github.com/vahidhashemian/kafka KAFKA-4135 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1839.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 #1839 ---- commit f66891a59f8c5e93fd128cdaae179c6cef4eb025 Author: Vahid Hashemian <vahidhashem...@us.ibm.com> Date: 2016-09-09T18:56:56Z KAFKA-4135: Consumer polls when not subscribed to any topic or assigned any partition should raise an exception When consumer is not subscribed to any topic or, in the case of manual assignment, is not assigned any partition calling `poll()` should lead to an exception. ---- --- 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. ---