Uses of Class
io.vertx.kafka.admin.NewTopic
Packages that use NewTopic
-
Uses of NewTopic in io.vertx.kafka.admin
Methods in io.vertx.kafka.admin that return NewTopicModifier and TypeMethodDescriptionSet the configuration for the new topic or null if no configs ever specifiedSet the name of the topic to be createdNewTopic.setNumPartitions(int numPartitions) Set the number of partitions for the new topic or -1 if a replica assignment has been specifiedNewTopic.setReplicasAssignments(Map<Integer, List<Integer>> replicasAssignments) Set a map from partition id to replica idsNewTopic.setReplicationFactor(short replicationFactor) Set the replication factor for the new topic or -1 if a replica assignment has been specifiedMethod parameters in io.vertx.kafka.admin with type arguments of type NewTopicModifier and TypeMethodDescriptionKafkaAdminClient.createTopics(List<NewTopic> topics) LikeKafkaAdminClient.createTopics(List, Handler)but returns aFutureof the asynchronous resultvoidKafkaAdminClient.createTopics(List<NewTopic> topics, Handler<AsyncResult<Void>> completionHandler) Creates a batch of new Kafka topics