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

ConsumerIterator throws a IllegalStateException after a ConsumerTimeout occurs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.7.1
    • Component/s: None
    • Labels:

      Description

      Please find the test case attached.

      After a timeout occurs (property consumer.timeout.ms > 0 ) the consumerIterator throws an IllegalStateException.

      The work around seems to be to recreate the MessageStream an issue a new Iterator.

        Attachments

        1. consumerIteratorTestCase.java
          3 kB
          Patricio Echague
        2. kafka-241.patch
          2 kB
          Jun Rao

          Activity

            People

            • Assignee:
              junrao Jun Rao
              Reporter:
              patricioe Patricio Echague
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: