rkhachatryan commented on code in PR #22169: URL: https://github.com/apache/flink/pull/22169#discussion_r1137480959
########## flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/SchedulerNG.java: ########## @@ -185,4 +187,28 @@ void deliverOperatorEventToCoordinator( */ CompletableFuture<CoordinationResponse> deliverCoordinationRequestToCoordinator( OperatorID operator, CoordinationRequest request) throws FlinkException; + + /** + * Read current {@link JobResourceRequirements job resource requirements}. + * + * @return Current resource requirements. + */ + default JobResourceRequirements requestJobResourceRequirements() { + throw new UnsupportedOperationException( Review Comment: Makes sense :+1: , the best we can do I think is to serve meaningfull HTTP response for both `GET` and `PUT` (not something like 500). -- 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