goreplay icon indicating copy to clipboard operation
goreplay copied to clipboard

Changing output kafka the same reqID message goes to the same partition.

Open g0ne150 opened this issue 10 months ago • 1 comments

The message with the same reqID should be in the same Kafka partition. Use the reqID as the message key, and the default value for Producer.Partitioner will be NewHashPartitioner, which selects the partition based on the hash value of the message key.

g0ne150 avatar Apr 22 '24 06:04 g0ne150