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


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/FlinkOperator.java:
##########
@@ -190,7 +189,8 @@ void registerSessionJobController() {
         var metricManager =
                 MetricManager.createFlinkSessionJobMetricManager(baseConfig, 
metricGroup);
         var statusRecorder = StatusRecorder.create(client, metricManager, 
listeners);
-        var reconciler = new SessionJobReconciler(eventRecorder, 
statusRecorder);
+        var autoscaler = AutoscalerFactory.create(client, eventRecorder);
+        var reconciler = new SessionJobReconciler(eventRecorder, 
statusRecorder, autoscaler);

Review Comment:
   Yes, seemed like an unnecessary limitation. We can also include this during 
our testing .



-- 
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