You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2020/02/05 20:42:00 UTC

[jira] [Created] (KAFKA-9507) AdminClient should check for missing committed offsets

Jason Gustafson created KAFKA-9507:
--------------------------------------

             Summary: AdminClient should check for missing committed offsets
                 Key: KAFKA-9507
                 URL: https://issues.apache.org/jira/browse/KAFKA-9507
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson


I noticed this exception getting raised:

{code}
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)
{code}

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)