afedulov commented on code in PR #23079:
URL: https://github.com/apache/flink/pull/23079#discussion_r1286228661


##########
flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/statemachine/KafkaEventsGeneratorJob.java:
##########
@@ -35,20 +40,33 @@ public static void main(String[] args) throws Exception {
 
         final ParameterTool params = ParameterTool.fromArgs(args);
 
-        double errorRate = params.getDouble("error-rate", 0.0);
-        int sleep = params.getInt("sleep", 1);
-
-        String kafkaTopic = params.get("kafka-topic");
-        String brokers = params.get("brokers", "localhost:9092");
+        final StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
+        env.setParallelism(1);

Review Comment:
   That's an accidental leftover from manual testing the rps calculation, 
thanks for spotting.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to