You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Mans Singh (Jira)" <ji...@apache.org> on 2021/09/12 23:32:00 UTC
[jira] [Created] (FLINK-24259) Exception thrown when Kafka topic is
null for FlinkKafkaConsumer
Mans Singh created FLINK-24259:
----------------------------------
Summary: Exception thrown when Kafka topic is null for FlinkKafkaConsumer
Key: FLINK-24259
URL: https://issues.apache.org/jira/browse/FLINK-24259
Project: Flink
Issue Type: Improvement
Components: Connectors / Kafka, kafka
Affects Versions: 1.14.0
Environment: All
Reporter: Mans Singh
Fix For: 1.15.0
If the topic name is null for the FlinkKafkaConsumer we get an Kafka exception with the message:
{quote}{{Error computing size for field 'topics': Error computing size for field 'name': Missing value for field 'name' which has no default value.}}
{quote}
The KafkaTopicDescriptor can checks that the topic name empty, blank or null and provide more informative message.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)