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

AdminClient should check for missing committed offsets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0, 2.3.2, 2.4.1
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: