You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2019/09/05 22:57: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=16923794#comment-16923794 ]
Matthias J. Sax commented on KAFKA-7499:
----------------------------------------
[~Chilio] – thanks for you interest. I added you to the list of contributors and assigned the ticket to you. You can now also self-assign tickets.
To push this over the finish line, we will first need to finish the KIP and get it accepted. I would recommend that you read the current KIP, and the full mailing list discussion to get the context. There are still a few open question that we need to answer before we can VOTE the KIP.
Let me know if you have any questions.
> 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
> Assignee: Alaa Zbair
> Priority: Major
> Labels: beginner, kip, 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.
> KIP-399 (not voted yet; feel free to pick it up): [https://cwiki.apache.org/confluence/display/KAFKA/KIP-399%3A+Extend+ProductionExceptionHandler+to+cover+serialization+exceptions]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)