| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<KafkaAdminClient> | 
__TYPE_ARG  | 
| Constructor and Description | 
|---|
KafkaAdminClient(KafkaAdminClient delegate)  | 
KafkaAdminClient(Object delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Close the admin client 
 | 
void | 
close(Handler<AsyncResult<Void>> completionHandler)
Close the admin client 
 | 
void | 
close(long timeout,
     Handler<AsyncResult<Void>> completionHandler)
Close the admin client 
 | 
static KafkaAdminClient | 
create(Vertx vertx,
      Map<String,String> config)
Create a new KafkaAdminClient instance 
 | 
void | 
createTopics(List<NewTopic> topics,
            Handler<AsyncResult<Void>> completionHandler)
Creates a batch of new Kafka topics 
 | 
void | 
deleteConsumerGroupOffsets(String groupId,
                          Set<TopicPartition> partitions,
                          Handler<AsyncResult<Void>> completionHandler)
Delete committed offsets for a set of partitions in a consumer group. 
 | 
void | 
deleteConsumerGroups(List<String> groupIds,
                    Handler<AsyncResult<Void>> completionHandler)
Delete consumer groups from the cluster. 
 | 
void | 
deleteTopics(List<String> topicNames,
            Handler<AsyncResult<Void>> completionHandler)
Deletes a batch of Kafka topics 
 | 
void | 
describeCluster(Handler<AsyncResult<ClusterDescription>> completionHandler)
Describe the nodes in the cluster with the default options 
 | 
boolean | 
equals(Object o)  | 
KafkaAdminClient | 
getDelegate()  | 
int | 
hashCode()  | 
void | 
listConsumerGroups(Handler<AsyncResult<List<ConsumerGroupListing>>> completionHandler)
Get the the consumer groups available in the cluster with the default options 
 | 
void | 
listTopics(Handler<AsyncResult<Set<String>>> completionHandler)
List the topics available in the cluster with the default options. 
 | 
static KafkaAdminClient | 
newInstance(KafkaAdminClient arg)  | 
Completable | 
rxClose()
Close the admin client 
 | 
Completable | 
rxClose(long timeout)
Close the admin client 
 | 
Completable | 
rxCreateTopics(List<NewTopic> topics)
Creates a batch of new Kafka topics 
 | 
Completable | 
rxDeleteConsumerGroupOffsets(String groupId,
                            Set<TopicPartition> partitions)
Delete committed offsets for a set of partitions in a consumer group. 
 | 
Completable | 
rxDeleteConsumerGroups(List<String> groupIds)
Delete consumer groups from the cluster. 
 | 
Completable | 
rxDeleteTopics(List<String> topicNames)
Deletes a batch of Kafka topics 
 | 
Single<ClusterDescription> | 
rxDescribeCluster()
Describe the nodes in the cluster with the default options 
 | 
Single<List<ConsumerGroupListing>> | 
rxListConsumerGroups()
Get the the consumer groups available in the cluster with the default options 
 | 
Single<Set<String>> | 
rxListTopics()
List the topics available in the cluster with the default options. 
 | 
String | 
toString()  | 
public static final io.vertx.lang.rx.TypeArg<KafkaAdminClient> __TYPE_ARG
public KafkaAdminClient(KafkaAdminClient delegate)
public KafkaAdminClient(Object delegate)
public KafkaAdminClient getDelegate()
public static KafkaAdminClient create(Vertx vertx, Map<String,String> config)
vertx - Vert.x instance to useconfig - Kafka admin client configurationpublic void listTopics(Handler<AsyncResult<Set<String>>> completionHandler)
completionHandler - handler called on operation completed with the topics setpublic Single<Set<String>> rxListTopics()
public void createTopics(List<NewTopic> topics, Handler<AsyncResult<Void>> completionHandler)
topics - topics to createcompletionHandler - handler called on operation completedpublic Completable rxCreateTopics(List<NewTopic> topics)
topics - topics to createpublic void deleteTopics(List<String> topicNames, Handler<AsyncResult<Void>> completionHandler)
topicNames - the names of the topics to deletecompletionHandler - handler called on operation completedpublic Completable rxDeleteTopics(List<String> topicNames)
topicNames - the names of the topics to deletepublic void listConsumerGroups(Handler<AsyncResult<List<ConsumerGroupListing>>> completionHandler)
completionHandler - handler called on operation completed with the consumer groups idspublic Single<List<ConsumerGroupListing>> rxListConsumerGroups()
public void close()
public void describeCluster(Handler<AsyncResult<ClusterDescription>> completionHandler)
completionHandler - handler called on operation completed with the cluster descriptionpublic Single<ClusterDescription> rxDescribeCluster()
public void deleteConsumerGroups(List<String> groupIds, Handler<AsyncResult<Void>> completionHandler)
groupIds - the ids of the groups to deletecompletionHandler - handler called on operation completedpublic Completable rxDeleteConsumerGroups(List<String> groupIds)
groupIds - the ids of the groups to deletepublic void deleteConsumerGroupOffsets(String groupId, Set<TopicPartition> partitions, Handler<AsyncResult<Void>> completionHandler)
groupId - The group id of the group whose offsets will be listedpartitions - The set of partitions in the consumer group whose offsets will be deletedcompletionHandler - public Completable rxDeleteConsumerGroupOffsets(String groupId, Set<TopicPartition> partitions)
groupId - The group id of the group whose offsets will be listedpartitions - The set of partitions in the consumer group whose offsets will be deletedpublic void close(Handler<AsyncResult<Void>> completionHandler)
completionHandler - handler called on operation completedpublic Completable rxClose()
public void close(long timeout,
                  Handler<AsyncResult<Void>> completionHandler)
timeout - timeout to wait for closingcompletionHandler - handler called on operation completedpublic Completable rxClose(long timeout)
timeout - timeout to wait for closingpublic static KafkaAdminClient newInstance(KafkaAdminClient arg)
Copyright © 2020 Eclipse. All rights reserved.