getTopicName
public function getTopicName(): string {}
Get topic name of topic partition
$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0, 100);
echo sprintf('Topic partition name %s', $topicPartition->getTopicName()) . PHP_EOL;