use of kafka.admin.RackAwareMode in project debezium by debezium.
the class KafkaServer method createTopic.
/**
* Create the specified topic.
*
* @param topic the name of the topic to create
* @param numPartitions the number of partitions for the topic
* @param replicationFactor the replication factor for the topic
*/
public void createTopic(String topic, int numPartitions, int replicationFactor) {
RackAwareMode rackAwareMode = null;
AdminUtils.createTopic(getZkUtils(), topic, numPartitions, replicationFactor, new Properties(), rackAwareMode);
}
Aggregations