[ https://issues.apache.org/jira/browse/KAFKA-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vahid Hashemian reassigned KAFKA-4135: -------------------------------------- Assignee: Vahid Hashemian > 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)