You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2015/09/07 01:17:45 UTC
[jira] [Created] (KAFKA-2523) New consumer doesn't check magic
version
Jay Kreps created KAFKA-2523:
--------------------------------
Summary: New consumer doesn't check magic version
Key: KAFKA-2523
URL: https://issues.apache.org/jira/browse/KAFKA-2523
Project: Kafka
Issue Type: Bug
Reporter: Jay Kreps
Priority: Blocker
The new consumer should be checking that messages it reads are in the format it expects (and give a sane error message otherwise) rather than just randomly reading other formats and running out of memory or getting cryptic errors. This should be a one-line fix.
It is important if we're thinking of changing the message format since you need the proper check in the versions BEFORE the version where you make the change so sane errors occur when the change eventually does happen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)