getName
public function getName(): string {}
Get topic name
$conf = new SimpleKafkaClient\Configuration();
$conf->set('auto.offset.reset', 'earliest');
$producer = new SimpleKafkaClient\Producer($conf);
$producerTopic = $producer->getTopicHandle('test-topic');
echo sprintf('Topic name: %s', $producerTopic->getName()) . PHP_EOL;