public static class Partitioners.RoundRobinPartitioner
extends java.lang.Object
implements kafka.producer.Partitioner
Partitioner that implements 'round-robin' mechanism which evenly
distributes load between all available partitions.| Constructor and Description |
|---|
RoundRobinPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
int |
partition(java.lang.Object key,
int numberOfPartitions) |