wanglijie95 commented on a change in pull request #18050:
URL: https://github.com/apache/flink/pull/18050#discussion_r782051397



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/deployment/TaskDeploymentDescriptorFactory.java
##########
@@ -128,6 +130,12 @@ public TaskDeploymentDescriptor createDeploymentDescriptor(
 
             int numConsumers = 
resultPartition.getConsumerVertexGroups().get(0).size();
 
+            // sanity check. Number of consumers should be equal to number of 
subpartitions. This
+            // check can be removed iff it supports one consumer to consume 
multiple subpartitions.
+            checkState(

Review comment:
       I will remove it.




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