setTopicName
public function setTopicName(string $topicName): TopicPartition {}
Set topic name of topic partition
$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0);
$topicPartition->setTopicName('another-test-topic');
public function setTopicName(string $topicName): TopicPartition {}
Set topic name of topic partition
$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0);
$topicPartition->setTopicName('another-test-topic');