mxm commented on code in PR #783:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/783#discussion_r1502247084
##########
flink-autoscaler/src/main/java/org/apache/flink/autoscaler/JobVertexScaler.java:
##########
@@ -245,50 +247,69 @@ private boolean detectIneffectiveScaleUp(
}
}
+ /**
+ * Compute newParallelism according to currentParallelism.
+ *
+ * @param currentParallelism The current parallelism.
+ * @param maxParallelism The max parallelism for job vertices. It's
numKeyGroups by default, and
+ * it's partition number for kafka source vertex.
+ * @param scaleFactor The scale factor.
+ * @param parallelismLowerLimit The parallelism lower limitation in
autoscaler option.
+ * @param parallelismUpperLimit The parallelism upper limitation in
autoscaler option.
+ * @param adjustByMaxParallelism True means we need to adjust parallelism
according to the
+ * maxParallelism to ensure the keyGroup or partition evenly.
+ */
Review Comment:
(I'm suggesting to remove the `@param` lines)
--
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]