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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.1.0
    • consumer
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: