You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2017/09/08 00:13:00 UTC

[jira] [Commented] (KAFKA-5858) consumer.poll() shouldn't throw exception due to deserialization error

    [ https://issues.apache.org/jira/browse/KAFKA-5858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157902#comment-16157902 ] 

Jun Rao commented on KAFKA-5858:
--------------------------------

[~hachikuji], any caveats for doing this?

> consumer.poll() shouldn't throw exception due to deserialization error
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-5858
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5858
>             Project: Kafka
>          Issue Type: Improvement
>    Affects Versions: 0.11.0.0
>            Reporter: Jun Rao
>
> Currently, the new consumer will throw an exception in poll() if it hits a deserialization error. The consumer then can't make progress from this point on. It will be better to throw the deserialization exception only when the key/value of the ConsumerRecord is accessed, like the old consumer does.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)