You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/04/14 12:15:00 UTC
[jira] [Closed] (FLINK-17134) Wrong logging information in
Kafka010PartitionDiscoverer#L80
[ https://issues.apache.org/jira/browse/FLINK-17134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aljoscha Krettek closed FLINK-17134.
------------------------------------
Fix Version/s: 1.11.0
Resolution: Fixed
master: 485ac221a3c7f5a7746323219d9eaafa27c3391d
> 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
> Fix For: 1.11.0
>
> Time Spent: 20m
> 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)