Handle corrupted messages cleanly
---------------------------------
Key: KAFKA-274
URL: https://issues.apache.org/jira/browse/KAFKA-274
Project: Kafka
Issue Type: Improvement
Components: core
Affects Versions: 0.7
Reporter: Neha Narkhede
Assignee: Neha Narkhede
Fix For: 0.7.1
Attachments: KAFKA-274.patch
This is related to KAFKA-273 and is filed to improve the code to have more
defensive checks against corrupted data. The data could get corrupted either
due to a Kafka bug or due to bit flipping on the network. The message iterator
should check if the message is valid before trying to decompress it. On the
producer side, defensive checks can be turned on to verify the messages before
writing those to the socket.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira