Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4135

Inconsistent javadoc for KafkaConsumer.poll behavior when there is no subscription

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.1.0
    • Component/s: consumer
    • Labels:
      None

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vahid Vahid Hashemian
                Reporter:
                hachikuji Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: