You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hang Ruan (Jira)" <ji...@apache.org> on 2021/09/02 03:34:00 UTC
[jira] [Commented] (FLINK-23847) [Kafka] Error msg are obscure when
KafkaConsumer init, valueDeserializer is null
[ https://issues.apache.org/jira/browse/FLINK-23847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408507#comment-17408507 ]
Hang Ruan commented on FLINK-23847:
-----------------------------------
The _checkNotNull_ method will throw a _NullPointerException_ with the given message, maybe we don't need extra information to explain it.
> [Kafka] Error msg are obscure when KafkaConsumer init, valueDeserializer is null
> --------------------------------------------------------------------------------
>
> Key: FLINK-23847
> URL: https://issues.apache.org/jira/browse/FLINK-23847
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Reporter: camilesing
> Priority: Critical
> Labels: pull-request-available
>
> As the title, i think the msg can be clearer.
>
> _this.deserializer = checkNotNull(deserializer, "valueDeserializer");_
> _->_
> _this.deserializer = checkNotNull(deserializer, "valueDeserializer cannot be null");_
--
This message was sent by Atlassian Jira
(v8.3.4#803005)