dmvk commented on code in PR #22350: URL: https://github.com/apache/flink/pull/22350#discussion_r1158445558
########## flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/RestHandlerConfiguration.java: ########## @@ -96,13 +105,20 @@ public static RestHandlerConfiguration fromConfiguration(Configuration configura final boolean webSubmitEnabled = configuration.getBoolean(WebOptions.SUBMIT_ENABLE); final boolean webCancelEnabled = configuration.getBoolean(WebOptions.CANCEL_ENABLE); + final boolean webRescaleSupported = + JobManagerOptions.SchedulerType.Adaptive.equals( + configuration.get(JobManagerOptions.SCHEDULER)) + && configuration.get(JobManagerOptions.SCHEDULER_MODE) == null; + final boolean webRescaleEnabled = Review Comment: For now, I'd leave it as is (just a UI option) and develop a systematic solution to align this across all three options (submit, cancel, rescale). Otherwise, it will create more confusion. https://issues.apache.org/jira/browse/FLINK-31734 -- 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