getTopicName

Description

public function getTopicName(): string {}

Get topic name of topic partition

Example

$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0, 100);
echo sprintf('Topic partition name %s', $topicPartition->getTopicName()) . PHP_EOL;