mjsax commented on PR #22630:
URL: https://github.com/apache/kafka/pull/22630#issuecomment-4782001872

   We need the randomness to shuffle the task directories to really test 
stickiness. Otherwise, "streams" version passes too, as sticky assignor uses 
the preserved `process.id` to compute the same assignment on restart.
   
   We can only really test correctly with the random element in it. We could 
also delete the process.id from local stat dir, but it give only a 50:50 
signal. Using task shuffling we get a higher "error rate".


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