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