[
https://issues.apache.org/jira/browse/FLINK-17134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aljoscha Krettek reassigned FLINK-17134:
----------------------------------------
Assignee: Jiayi Liao
> Wrong logging information in Kafka010PartitionDiscoverer#L80
> ------------------------------------------------------------
>
> Key: FLINK-17134
> URL: https://issues.apache.org/jira/browse/FLINK-17134
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Kafka
> Affects Versions: 1.10.0
> Reporter: Jiayi Liao
> Assignee: Jiayi Liao
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-kafka-0.10/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/Kafka010PartitionDiscoverer.java#L80
> {code:java}
> throw new RuntimeException("Could not fetch partitions for %s. Make sure that
> the topic exists.".format(topic));
> {code}
> equals to {{String.format(topic)}}, which
> should be replaced with
> {code:java}
> throw new RuntimeException(String.format("Could not fetch partitions for %s.
> Make sure that the topic exists.", topic));
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)