Guibo-Pan opened a new pull request #6544: [FLINK-8532] [Streaming] modify 
RebalancePartitioner to use a random partition as its first partition
URL: https://github.com/apache/flink/pull/6544
 
 
   
   ## What is the purpose of the change
   This pull request makes RebalancePartitioner to use a random partition as 
its first partition, rather than the same 0th. In this way we avoid message 
sending to the same subtask at one moment, which may cause lag of the subtask, 
and make some other subtask with no message arrived to be idle. This helps 
RebalancePartitioner balance message better, and increase throughput.
   
   
   ## Brief change log
     - RebalancePartitioner starts with a random partition rather than the same 
0th partition
     - corresponding RebalancePartitionerTest
   
   
   ## Verifying this change
   
   
   This change is already covered by existing tests, such as 
RebalancePartitionerTest.
   
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): ( don't know)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to