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

KafkaConsumer.poll throws IllegalStateException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.2.1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: