flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6004) Allow FlinkKinesisConsumer to skip corrupted messages
Date Wed, 31 Jan 2018 12:41:00 GMT

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

ASF GitHub Bot commented on FLINK-6004:
---------------------------------------

Github user tzulitai commented on the issue:

    https://github.com/apache/flink/pull/5269
  
    @zentol 
    The contract is that if `KinesisDeserializationSchema.deserialize()` returns `null`, that
record will be skipped. I agree it makes sense to have a add a warning log if this happens.


> Allow FlinkKinesisConsumer to skip corrupted messages
> -----------------------------------------------------
>
>                 Key: FLINK-6004
>                 URL: https://issues.apache.org/jira/browse/FLINK-6004
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming Connectors
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Major
>
> It is quite clear from the fix of FLINK-3679 that in reality, users might encounter corrupted
messages from Kafka / Kinesis / generally external sources when deserializing them.
> The consumers should support simply skipping those messages, by letting the deserialization
schema return {{null}}, and checking {{null}} values within the consumer.
> This has been done for the Kafka consumer already. This ticket tracks the improvement
for the Kinesis consumer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message