Jason Gustafson updated KAFKA-4135:
       Resolution: Fixed
    Fix Version/s:
           Status: Resolved  (was: Patch Available)

Issue resolved by pull request 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
>             Fix For:
> 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

Reply via email to