Kafka
  1. Kafka
  2. KAFKA-241

ConsumerIterator throws a IllegalStateException after a ConsumerTimeout occurs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Patricio Echague created issue -
        Patricio Echague made changes -
        Field Original Value New Value
        Attachment consumerIteratorTestCase.java [ 12509640 ]
        Neha Narkhede made changes -
        Labels newbie
        Jun Rao made changes -
        Attachment kafka-241.patch [ 12511072 ]
        Jun Rao made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Jun Rao [ junrao ]
        Fix Version/s 0.7.1 [ 12319140 ]
        Jun Rao made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Neha Narkhede made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development