You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gu...@apache.org on 2023/05/25 13:04:27 UTC
[flink] branch release-1.17 updated: [FLINK-32172][kafka] KafkaExampleUtils incorrect check of the minimum number of parameters
This is an automated email from the ASF dual-hosted git repository.
guoweijie pushed a commit to branch release-1.17
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.17 by this push:
new 83da3560584 [FLINK-32172][kafka] KafkaExampleUtils incorrect check of the minimum number of parameters
83da3560584 is described below
commit 83da3560584f8d95de0acbe2e922b7f327fec7ec
Author: Weijie Guo <re...@163.com>
AuthorDate: Wed May 24 13:40:45 2023 +0800
[FLINK-32172][kafka] KafkaExampleUtils incorrect check of the minimum number of parameters
---
.../org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-end-to-end-tests/flink-streaming-kafka-test-base/src/main/java/org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java b/flink-end-to-end-tests/flink-streaming-kafka-test-base/src/main/java/org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java
index 2d05380b86b..a6fa83e61ea 100644
--- a/flink-end-to-end-tests/flink-streaming-kafka-test-base/src/main/java/org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java
+++ b/flink-end-to-end-tests/flink-streaming-kafka-test-base/src/main/java/org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java
@@ -27,7 +27,7 @@ public class KafkaExampleUtil {
public static StreamExecutionEnvironment prepareExecutionEnv(ParameterTool parameterTool)
throws Exception {
- if (parameterTool.getNumberOfParameters() < 5) {
+ if (parameterTool.getNumberOfParameters() < 4) {
System.out.println(
"Missing parameters!\n"
+ "Usage: Kafka --input-topic <topic> --output-topic <topic> "