[
https://issues.apache.org/jira/browse/FLINK-16735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071670#comment-17071670
]
Aljoscha Krettek commented on FLINK-16735:
------------------------------------------
I think the current behaviour is the expected behaviour: users should not
return null values.
What should be the expected behaviour? The sink completely ignores null values?
In general, null handling in both the source and sink is not a solved topic in
Flink. 😅
> FlinkKafkaProducer should check that it is not null before sending a record
> ---------------------------------------------------------------------------
>
> Key: FLINK-16735
> URL: https://issues.apache.org/jira/browse/FLINK-16735
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.10.0
> Reporter: Shangwen Tang
> Assignee: Shangwen Tang
> Priority: Major
> Attachments: image-2020-03-24-11-40-22-143.png
>
>
> In our user scenario, some users implemented the KafkaSerializationSchema and
> sometimes returned a null record, resulting in a null pointer exception
> !image-2020-03-24-11-40-22-143.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)