(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)
RdKafka\TopicPartition::__construct — Constructor
$topic
, integer $partition
[, integer $offset
= 0
] )Constructor
Example #1 RdKafka\TopicPartition::__construct() example
<?php
new RdKafka\TopicPartition("myTopic", 1);
?>