public class KafkaConstantPartitioner extends Object implements SerializableKafkaPartitioner
| Constructor and Description |
|---|
KafkaConstantPartitioner(int partition) |
public int partition(Object value, int numberOfPartitions)
partition in interface kafka.producer.PartitionerCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.