merlimat opened a new pull request #9702:
URL: https://github.com/apache/pulsar/pull/9702


   ### Motivation
   
   The `SinglePartitionMessageRouter` is supposed to pick a random partition 
for a given producer and to stick with that. The problem is that the C `rand()` 
call is always using the seed 0 and that ends up having multiple processes to 
always deterministically pick the same partition.
   
   


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


Reply via email to