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

AdminClient should check for missing committed offsets

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0, 2.3.2, 2.4.1
    • Component/s: None
    • Labels:

      Description

      I noticed this exception getting raised:

      Caused by: java.lang.IllegalArgumentException: Invalid negative offset
      	at org.apache.kafka.clients.consumer.OffsetAndMetadata.<init>(OffsetAndMetadata.java:50)
      	at org.apache.kafka.clients.admin.KafkaAdminClient$24$1.handleResponse(KafkaAdminClient.java:2832)
      	at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.handleResponses(KafkaAdminClient.java:1032)
      	at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1160)
      

      The AdminClient should check for negative offsets in OffsetFetch responses in the api `listConsumerGroupOffsets`.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.mao David Mao
                Reporter:
                hachikuji Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: