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

KafkaConsumer.poll throws IllegalStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.10.2.1
    • None
    • None

    Description

      The backport of KAFKA-5075 to 0.10.2 seems to have introduced a regression: If a fetch returns more data than `max.poll.records` and there is a rebalance or the user changes the assignment/subscription after a `poll` that doesn't return all the fetched data, the next call will throw an `IllegalStateException`. More discussion in the following PR that includes a fix:

      https://github.com/apache/kafka/pull/2876/files#r112413428

      This issue caused a Streams system test to fail, see KAFKA-4755.

      We should fix the regression before releasing 0.10.2.1.

      Attachments

        Activity

          People

            enothereska Eno Thereska
            ijuma Ismael Juma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: