getPartition
public function getPartition(): int {}
Get partition of topic partition
$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0, 100);
echo sprintf('TopicPartition partition %d', $topicPartition->getPartition()) . PHP_EOL;