dingxin-tech commented on PR #3414:
URL: https://github.com/apache/flink-cdc/pull/3414#issuecomment-2172040689

   > What's more, considering that the number of buckets and parallelism may 
not be consistent, should we remove the constraint on 
[EventPartitioner](https://github.com/apache/flink-cdc/blob/2bd2e4ce24ec0cc6a11129e3e3b32af6a09dd977/flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/partitioning/EventPartitioner.java#L25)?
   
   Although the number of buckets and parallelism will differ, we can only 
distribute based on parallelism rather than buckets, right? We have already 
distributed the hash values to the various parallelisms 
[here](https://github.com/apache/flink-cdc/blob/2bd2e4ce24ec0cc6a11129e3e3b32af6a09dd977/flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/partitioning/PrePartitionOperator.java#L104C43-L104C64),
 so I think there's no need to change anything here.
   
   
   


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