setPartition
public function setPartition(int $partition): TopicPartition {}
Set partition of topic partition
$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0);
$topicPartition->setPartition(1);
public function setPartition(int $partition): TopicPartition {}
Set partition of topic partition
$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0);
$topicPartition->setPartition(1);