RdKafka\TopicPartition::setPartition

(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)

RdKafka\TopicPartition::setPartitionSet the partition ID

Description

public RdKafka\TopicPartition::setPartition ( string $partition ) : ReturnType

Sets the partition ID.

Parameters

partition

Partition ID

Return Values

Returns no value.