[
https://issues.apache.org/jira/browse/KAFKA-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jay Kreps resolved KAFKA-2523.
------------------------------
Resolution: Duplicate
> 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)