(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)
RdKafka\TopicPartition::__construct — Constructor
$topic
$partition
$offset
Constructor
topic
Topic name
partition
Partition ID
offset
Offset
Example #1 RdKafka\TopicPartition::__construct() example
<?php new RdKafka\TopicPartition("myTopic", 1); ?>