Jason Gustafson created KAFKA-9206: -------------------------------------- Summary: 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
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)