gyfora commented on code in PR #1077:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/1077#discussion_r3027225801


##########
flink-autoscaler/src/main/java/org/apache/flink/autoscaler/JobVertexScaler.java:
##########
@@ -591,9 +669,8 @@ protected static <KEY, Context extends 
JobAutoScalerContext<KEY>> int scale(
                 AutoScalerEventHandler.Type.Warning,
                 SCALING_LIMITED,
                 message,
-                SCALING_LIMITED + vertex + newParallelism,
+                SCALING_LIMITED + vertex + expectedParallelism,

Review Comment:
   We should take this opportunity and fix this broken message key here. It 
should be only `SCALING_LIMITED + vertex` . Including parallelism in the key 
causes a blowup of events and it makes no sense



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to