[ 
https://issues.apache.org/jira/browse/KAFKA-9507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032025#comment-17032025
 ] 

ASF GitHub Bot commented on KAFKA-9507:
---------------------------------------

splett2 commented on pull request #8057: KAFKA-9507 AdminClient should check 
for missing committed offsets
URL: https://github.com/apache/kafka/pull/8057
 
 
   JIRA: https://issues.apache.org/jira/browse/KAFKA-9507
   
   Addresses exception being thrown by AdminClient when 
listConsumerGroupOffsets returns a negative offset.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>            Assignee: David Mao
>            Priority: Major
>              Labels: newbie
>
> 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)

Reply via email to