Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5397#discussion_r165290983
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java 
---
    @@ -358,6 +361,18 @@ public void start() throws Exception {
                }
        }
     
    +   @Override
    +   public CompletableFuture<Optional<OperatorBackPressureStats>> 
getOperatorBackPressureStats(
    --- End diff --
    
    I think `Optional` is not serializable. We should always return 
serializable objects as the result of a RPC.


---

Reply via email to