def _create_topic_partitions(self, topic, count):
     client = KafkaCliTools(self.redpanda)
     client.create_topic_partitions(topic, count)
示例#2
0
 def alter_topic_partition_count(self, topic: str, count: int):
     client = KafkaCliTools(self._redpanda)
     client.create_topic_partitions(topic, count)