(PECL rdkafka >= 0.9.1)
RdKafka\TopicConf::setPartitioner — Set partitioner
$partitioner
) : voidSet the partitioner to use for routing messages to partitions based on keys.
partitioner
(integer)
Must be one of the RD_KAFKA_MSG_PARTITIONER_*
constants.