[ https://issues.apache.org/jira/browse/KAFKA-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15505051#comment-15505051 ]
ASF GitHub Bot commented on KAFKA-4135: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1839 > Inconsistent javadoc for KafkaConsumer.poll behavior when there is no > subscription > ---------------------------------------------------------------------------------- > > Key: KAFKA-4135 > URL: https://issues.apache.org/jira/browse/KAFKA-4135 > Project: Kafka > Issue Type: Bug > Components: consumer > Reporter: Jason Gustafson > Assignee: Vahid Hashemian > Priority: Minor > > Currently, the javadoc for {{KafkaConsumer.poll}} says the following: > "It is an error to not have subscribed to any topics or partitions before > polling for data." However, we don't actually raise an exception if this is > the case. Perhaps we should? -- This message was sent by Atlassian JIRA (v6.3.4#6332)