zhijiangW commented on a change in pull request #13209: URL: https://github.com/apache/flink/pull/13209#discussion_r479082702
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java ########## @@ -591,6 +593,13 @@ private void connect(Integer headOfChain, StreamEdge edge) { } } + private void checkCompatible(ResultPartitionType type, long bufferTimeout) { + if (type.isBlocking() && bufferTimeout != -1) { + throw new UnsupportedOperationException("Blocking partition does not support buffer timeout at the" + Review comment: Agree, i will refactor the message. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org