[ https://issues.apache.org/jira/browse/KAFKA-9206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gustafson resolved KAFKA-9206. ------------------------------------ Fix Version/s: 2.6.0 Resolution: Fixed > 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 > Fix For: 2.6.0 > > > 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)