Following are the keys produced by Apache Kafka's DefaultPartitioner
which uses a 32-bit murmur2 hash
to compute the partition number for a record (with the key defined) or chooses a partition in a round-robin fashion (per the available partitions of the topic):
Partition Keys | Partition Number |
---|---|
21 | 0 |
16 | 1 |
20 | 2 |
3, 9, 30, 35 | 3 |
27 | 4 |
24 | 5 |