Guibo-Pan commented on issue #6544: [FLINK-8532] [Streaming] modify 
RebalancePartitioner to use a random partition as its first partition
URL: https://github.com/apache/flink/pull/6544#issuecomment-416913773
 
 
   @StephanEwen Thanks for your suggestion. I've made an update to it.
   
   For further optimization, the one-channel-only selector which always returns 
just `0`,  can be used  instead of using `ShufflePartitioner` or 
`RebalancePartitioner` where outputs have only one channel.
   
   It seems that we have a `ForwardPartitioner` already which always returns 0. 
And it could be an optimization in the process during building the job graph, 
maybe in another new issue. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to