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

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

hachikuji commented on pull request #8111: KAFKA-9206: throw a KafkaException 
when encountering CORRUPT_MESSAGE
URL: https://github.com/apache/kafka/pull/8111
 
 
   
 
----------------------------------------------------------------
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


> Consumer should handle `CORRUPT_MESSAGE` error code in fetch response
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-9206
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9206
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Agam Brahma
>            Priority: Major
>
> This error code is possible, for example, when the broker scans the log to 
> find the fetch offset after the index lookup. Currently this results in a 
> slightly obscure message such as the following:
> {code:java}
> java.lang.IllegalStateException: Unexpected error code 2 while fetching 
> data{code}
>  



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

Reply via email to