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

[jira] [Commented] (KAFKA-7499) Extend ProductionExceptionHandler to cover serialization exceptions

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

ASF GitHub Bot commented on KAFKA-7499:
---------------------------------------

kamalcph commented on pull request #5969: KAFKA-7499: Extend ProductionExceptionHandler to cover serialization exceptions
URL: https://github.com/apache/kafka/pull/5969
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Extend ProductionExceptionHandler to cover serialization exceptions
> -------------------------------------------------------------------
>
>                 Key: KAFKA-7499
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7499
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Matthias J. Sax
>            Priority: Major
>              Labels: beginner, newbie
>
> In [KIP-210|https://cwiki.apache.org/confluence/display/KAFKA/KIP-210+-+Provide+for+custom+error+handling++when+Kafka+Streams+fails+to+produce], an exception handler for the write path was introduced. This exception handler covers exception that are raised in the producer callback.
> However, serialization happens before the data is handed to the producer with Kafka Streams itself and the producer uses `byte[]/byte[]` key-value-pair types.
> Thus, we might want to extend the ProductionExceptionHandler to cover serialization exception, too, to skip over corrupted output messages. An example could be a "String" message that contains invalid JSON and should be serialized as JSON.
> This ticket might required a KIP.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)