Class KafkaAdminClient
- All Implemented Interfaces:
MutinyDelegate
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
KafkaAdminClient
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKafkaAdminClient(io.vertx.kafka.admin.KafkaAdminClient delegate) Create a new instance ofKafkaAdminClientdelegating to the given (non-null) instance ofKafkaAdminClient.KafkaAdminClient(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void>close()Close the admin clientio.smallrye.mutiny.Uni<Void>close(long timeout) Close the admin clientvoidClose the admin clientvoidcloseAndAwait(long timeout) Close the admin clientClose the admin clientcloseAndForget(long timeout) Close the admin clientstatic KafkaAdminClientCreate a new KafkaAdminClient instanceio.smallrye.mutiny.Uni<List<org.apache.kafka.common.acl.AclBinding>>createAcls(List<org.apache.kafka.common.acl.AclBinding> aclBindings) Create the ACL rules.List<org.apache.kafka.common.acl.AclBinding>createAclsAndAwait(List<org.apache.kafka.common.acl.AclBinding> aclBindings) Create the ACL rules.createAclsAndForget(List<org.apache.kafka.common.acl.AclBinding> aclBindings) Create the ACL rules.io.smallrye.mutiny.Uni<Void>createPartitions(Map<String, io.vertx.kafka.admin.NewPartitions> partitions) Creates a batch of new partitions in the Kafka topicvoidcreatePartitionsAndAwait(Map<String, io.vertx.kafka.admin.NewPartitions> partitions) Creates a batch of new partitions in the Kafka topiccreatePartitionsAndForget(Map<String, io.vertx.kafka.admin.NewPartitions> partitions) Creates a batch of new partitions in the Kafka topicio.smallrye.mutiny.Uni<Void>createTopics(List<io.vertx.kafka.admin.NewTopic> topics) Creates a batch of new Kafka topicsvoidcreateTopicsAndAwait(List<io.vertx.kafka.admin.NewTopic> topics) Creates a batch of new Kafka topicscreateTopicsAndForget(List<io.vertx.kafka.admin.NewTopic> topics) Creates a batch of new Kafka topicsio.smallrye.mutiny.Uni<List<org.apache.kafka.common.acl.AclBinding>>deleteAcls(List<org.apache.kafka.common.acl.AclBindingFilter> aclBindings) Delete the ACL rules.List<org.apache.kafka.common.acl.AclBinding>deleteAclsAndAwait(List<org.apache.kafka.common.acl.AclBindingFilter> aclBindings) Delete the ACL rules.deleteAclsAndForget(List<org.apache.kafka.common.acl.AclBindingFilter> aclBindings) Delete the ACL rules.io.smallrye.mutiny.Uni<Void>deleteConsumerGroupOffsets(String groupId, Set<io.vertx.kafka.client.common.TopicPartition> partitions) Delete committed offsets for a set of partitions in a consumer group.voiddeleteConsumerGroupOffsetsAndAwait(String groupId, Set<io.vertx.kafka.client.common.TopicPartition> partitions) Delete committed offsets for a set of partitions in a consumer group.deleteConsumerGroupOffsetsAndForget(String groupId, Set<io.vertx.kafka.client.common.TopicPartition> partitions) Delete committed offsets for a set of partitions in a consumer group.io.smallrye.mutiny.Uni<Void>deleteConsumerGroups(List<String> groupIds) Delete consumer groups from the cluster.voiddeleteConsumerGroupsAndAwait(List<String> groupIds) Delete consumer groups from the cluster.deleteConsumerGroupsAndForget(List<String> groupIds) Delete consumer groups from the cluster.io.smallrye.mutiny.Uni<Void>deleteTopics(List<String> topicNames) Deletes a batch of Kafka topicsvoiddeleteTopicsAndAwait(List<String> topicNames) Deletes a batch of Kafka topicsdeleteTopicsAndForget(List<String> topicNames) Deletes a batch of Kafka topicsio.smallrye.mutiny.Uni<List<org.apache.kafka.common.acl.AclBinding>>describeAcls(org.apache.kafka.common.acl.AclBindingFilter aclBindingFilter) Describe the ACL rules.List<org.apache.kafka.common.acl.AclBinding>describeAclsAndAwait(org.apache.kafka.common.acl.AclBindingFilter aclBindingFilter) Describe the ACL rules.describeAclsAndForget(org.apache.kafka.common.acl.AclBindingFilter aclBindingFilter) Describe the ACL rules.io.smallrye.mutiny.Uni<io.vertx.kafka.admin.ClusterDescription>Describe the nodes in the cluster with the default optionsio.smallrye.mutiny.Uni<io.vertx.kafka.admin.ClusterDescription>describeCluster(io.vertx.kafka.admin.DescribeClusterOptions options) LikedescribeCluster()but allows customized options.io.vertx.kafka.admin.ClusterDescriptionDescribe the nodes in the cluster with the default optionsio.vertx.kafka.admin.ClusterDescriptiondescribeClusterAndAwait(io.vertx.kafka.admin.DescribeClusterOptions options) LikedescribeCluster()but allows customized options.Describe the nodes in the cluster with the default optionsdescribeClusterAndForget(io.vertx.kafka.admin.DescribeClusterOptions options) LikedescribeCluster()but allows customized options.describeConsumerGroups(List<String> groupIds) Describe some group ids in the cluster, with the default optionsdescribeConsumerGroups(List<String> groupIds, io.vertx.kafka.admin.DescribeConsumerGroupsOptions options) LikedescribeConsumerGroups(List)but allows customized optionsdescribeConsumerGroupsAndAwait(List<String> groupIds) Describe some group ids in the cluster, with the default optionsdescribeConsumerGroupsAndAwait(List<String> groupIds, io.vertx.kafka.admin.DescribeConsumerGroupsOptions options) LikedescribeConsumerGroups(List)but allows customized optionsdescribeConsumerGroupsAndForget(List<String> groupIds) Describe some group ids in the cluster, with the default optionsdescribeConsumerGroupsAndForget(List<String> groupIds, io.vertx.kafka.admin.DescribeConsumerGroupsOptions options) LikedescribeConsumerGroups(List)but allows customized optionsdescribeTopics(List<String> topicNames) Describe some topics in the cluster, with the default options.describeTopics(List<String> topicNames, io.vertx.kafka.admin.DescribeTopicsOptions options) LikedescribeTopics(List)but allows for customised otionsdescribeTopicsAndAwait(List<String> topicNames) Describe some topics in the cluster, with the default options.describeTopicsAndAwait(List<String> topicNames, io.vertx.kafka.admin.DescribeTopicsOptions options) LikedescribeTopics(List)but allows for customised otionsdescribeTopicsAndForget(List<String> topicNames) Describe some topics in the cluster, with the default options.describeTopicsAndForget(List<String> topicNames, io.vertx.kafka.admin.DescribeTopicsOptions options) LikedescribeTopics(List)but allows for customised otionsbooleanio.vertx.kafka.admin.KafkaAdminClientGet the delegate instance.inthashCode()io.smallrye.mutiny.Uni<List<io.vertx.kafka.admin.ConsumerGroupListing>>Get the the consumer groups available in the cluster with the default optionsList<io.vertx.kafka.admin.ConsumerGroupListing>Get the the consumer groups available in the cluster with the default optionsGet the the consumer groups available in the cluster with the default optionsList the topics available in the cluster with the default options.List the topics available in the cluster with the default options.List the topics available in the cluster with the default options.static KafkaAdminClientnewInstance(io.vertx.kafka.admin.KafkaAdminClient delegate) Creates a new instance of theKafkaAdminClient.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
KafkaAdminClient
public KafkaAdminClient(io.vertx.kafka.admin.KafkaAdminClient delegate) Create a new instance ofKafkaAdminClientdelegating to the given (non-null) instance ofKafkaAdminClient. -
KafkaAdminClient
-
-
Method Details
-
getDelegate
public io.vertx.kafka.admin.KafkaAdminClient getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
listTopics
List the topics available in the cluster with the default options.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.listTopics()
-
listTopicsAndAwait
List the topics available in the cluster with the default options.Unlike the bare Vert.x variant, this method returns a
Set<String>. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.listTopics()
-
listTopicsAndForget
List the topics available in the cluster with the default options.Unlike the bare Vert.x variant, this method ignores the
Set<String>result or any failure.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.listTopics()
-
describeTopics
@CheckReturnValue public io.smallrye.mutiny.Uni<Map<String,io.vertx.kafka.admin.TopicDescription>> describeTopics(List<String> topicNames) Describe some topics in the cluster, with the default options.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
topicNames- the names of the topics to describe- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.describeTopics(List)
-
describeTopicsAndAwait
public Map<String,io.vertx.kafka.admin.TopicDescription> describeTopicsAndAwait(List<String> topicNames) Describe some topics in the cluster, with the default options.Unlike the bare Vert.x variant, this method returns a
Map<String,. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aio.vertx.kafka.admin.TopicDescription> RuntimeException).- Parameters:
topicNames- the names of the topics to describe- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.describeTopics(List)
-
describeTopicsAndForget
Describe some topics in the cluster, with the default options.Unlike the bare Vert.x variant, this method ignores the
Map<String,result or any failure.io.vertx.kafka.admin.TopicDescription> - Parameters:
topicNames- the names of the topics to describe- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.describeTopics(List)
-
describeTopics
@CheckReturnValue public io.smallrye.mutiny.Uni<Map<String,io.vertx.kafka.admin.TopicDescription>> describeTopics(List<String> topicNames, io.vertx.kafka.admin.DescribeTopicsOptions options) LikedescribeTopics(List)but allows for customised otionsUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.describeTopics(List, DescribeTopicsOptions)
-
describeTopicsAndAwait
public Map<String,io.vertx.kafka.admin.TopicDescription> describeTopicsAndAwait(List<String> topicNames, io.vertx.kafka.admin.DescribeTopicsOptions options) LikedescribeTopics(List)but allows for customised otionsUnlike the bare Vert.x variant, this method returns a
Map<String,. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aio.vertx.kafka.admin.TopicDescription> RuntimeException).- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.describeTopics(List, DescribeTopicsOptions)
-
describeTopicsAndForget
public KafkaAdminClient describeTopicsAndForget(List<String> topicNames, io.vertx.kafka.admin.DescribeTopicsOptions options) LikedescribeTopics(List)but allows for customised otionsUnlike the bare Vert.x variant, this method ignores the
Map<String,result or any failure.io.vertx.kafka.admin.TopicDescription> - Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.describeTopics(List, DescribeTopicsOptions)
-
createTopics
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> createTopics(List<io.vertx.kafka.admin.NewTopic> topics) Creates a batch of new Kafka topicsUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
topics- topics to create- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.createTopics(List)
-
createTopicsAndAwait
Creates a batch of new Kafka topicsUnlike the bare Vert.x variant, this method returns a
Void. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
topics- topics to create- See Also:
-
KafkaAdminClient.createTopics(List)
-
createTopicsAndForget
Creates a batch of new Kafka topicsUnlike the bare Vert.x variant, this method ignores the
Voidresult or any failure.- Parameters:
topics- topics to create- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.createTopics(List)
-
deleteTopics
Deletes a batch of Kafka topicsUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
topicNames- the names of the topics to delete- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.deleteTopics(List)
-
deleteTopicsAndAwait
Deletes a batch of Kafka topicsUnlike the bare Vert.x variant, this method returns a
Void. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
topicNames- the names of the topics to delete- See Also:
-
KafkaAdminClient.deleteTopics(List)
-
deleteTopicsAndForget
Deletes a batch of Kafka topicsUnlike the bare Vert.x variant, this method ignores the
Voidresult or any failure.- Parameters:
topicNames- the names of the topics to delete- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.deleteTopics(List)
-
createPartitions
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> createPartitions(Map<String, io.vertx.kafka.admin.NewPartitions> partitions) Creates a batch of new partitions in the Kafka topicUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
partitions- partitions to create- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.createPartitions(Map)
-
createPartitionsAndAwait
Creates a batch of new partitions in the Kafka topicUnlike the bare Vert.x variant, this method returns a
Void. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
partitions- partitions to create- See Also:
-
KafkaAdminClient.createPartitions(Map)
-
createPartitionsAndForget
public KafkaAdminClient createPartitionsAndForget(Map<String, io.vertx.kafka.admin.NewPartitions> partitions) Creates a batch of new partitions in the Kafka topicUnlike the bare Vert.x variant, this method ignores the
Voidresult or any failure.- Parameters:
partitions- partitions to create- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.createPartitions(Map)
-
listConsumerGroups
@CheckReturnValue public io.smallrye.mutiny.Uni<List<io.vertx.kafka.admin.ConsumerGroupListing>> listConsumerGroups()Get the the consumer groups available in the cluster with the default optionsUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.listConsumerGroups()
-
listConsumerGroupsAndAwait
Get the the consumer groups available in the cluster with the default optionsUnlike the bare Vert.x variant, this method returns a
List<io.vertx.kafka.admin.ConsumerGroupListing>. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.listConsumerGroups()
-
listConsumerGroupsAndForget
Get the the consumer groups available in the cluster with the default optionsUnlike the bare Vert.x variant, this method ignores the
List<io.vertx.kafka.admin.ConsumerGroupListing>result or any failure.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.listConsumerGroups()
-
describeConsumerGroups
@CheckReturnValue public io.smallrye.mutiny.Uni<Map<String,io.vertx.kafka.admin.ConsumerGroupDescription>> describeConsumerGroups(List<String> groupIds) Describe some group ids in the cluster, with the default optionsUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
groupIds- the ids of the groups to describe- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.describeConsumerGroups(List)
-
describeConsumerGroupsAndAwait
public Map<String,io.vertx.kafka.admin.ConsumerGroupDescription> describeConsumerGroupsAndAwait(List<String> groupIds) Describe some group ids in the cluster, with the default optionsUnlike the bare Vert.x variant, this method returns a
Map<String,. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aio.vertx.kafka.admin.ConsumerGroupDescription> RuntimeException).- Parameters:
groupIds- the ids of the groups to describe- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.describeConsumerGroups(List)
-
describeConsumerGroupsAndForget
Describe some group ids in the cluster, with the default optionsUnlike the bare Vert.x variant, this method ignores the
Map<String,result or any failure.io.vertx.kafka.admin.ConsumerGroupDescription> - Parameters:
groupIds- the ids of the groups to describe- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.describeConsumerGroups(List)
-
describeConsumerGroups
@CheckReturnValue public io.smallrye.mutiny.Uni<Map<String,io.vertx.kafka.admin.ConsumerGroupDescription>> describeConsumerGroups(List<String> groupIds, io.vertx.kafka.admin.DescribeConsumerGroupsOptions options) LikedescribeConsumerGroups(List)but allows customized optionsUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.describeConsumerGroups(List, DescribeConsumerGroupsOptions)
-
describeConsumerGroupsAndAwait
public Map<String,io.vertx.kafka.admin.ConsumerGroupDescription> describeConsumerGroupsAndAwait(List<String> groupIds, io.vertx.kafka.admin.DescribeConsumerGroupsOptions options) LikedescribeConsumerGroups(List)but allows customized optionsUnlike the bare Vert.x variant, this method returns a
Map<String,. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aio.vertx.kafka.admin.ConsumerGroupDescription> RuntimeException).- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.describeConsumerGroups(List, DescribeConsumerGroupsOptions)
-
describeConsumerGroupsAndForget
public KafkaAdminClient describeConsumerGroupsAndForget(List<String> groupIds, io.vertx.kafka.admin.DescribeConsumerGroupsOptions options) LikedescribeConsumerGroups(List)but allows customized optionsUnlike the bare Vert.x variant, this method ignores the
Map<String,result or any failure.io.vertx.kafka.admin.ConsumerGroupDescription> - Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.describeConsumerGroups(List, DescribeConsumerGroupsOptions)
-
describeCluster
@CheckReturnValue public io.smallrye.mutiny.Uni<io.vertx.kafka.admin.ClusterDescription> describeCluster()Describe the nodes in the cluster with the default optionsUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.describeCluster()
-
describeClusterAndAwait
public io.vertx.kafka.admin.ClusterDescription describeClusterAndAwait()Describe the nodes in the cluster with the default optionsUnlike the bare Vert.x variant, this method returns a
ClusterDescription. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.describeCluster()
-
describeClusterAndForget
Describe the nodes in the cluster with the default optionsUnlike the bare Vert.x variant, this method ignores the
ClusterDescriptionresult or any failure.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.describeCluster()
-
describeCluster
@CheckReturnValue public io.smallrye.mutiny.Uni<io.vertx.kafka.admin.ClusterDescription> describeCluster(io.vertx.kafka.admin.DescribeClusterOptions options) LikedescribeCluster()but allows customized options.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.describeCluster(DescribeClusterOptions)
-
describeClusterAndAwait
public io.vertx.kafka.admin.ClusterDescription describeClusterAndAwait(io.vertx.kafka.admin.DescribeClusterOptions options) LikedescribeCluster()but allows customized options.Unlike the bare Vert.x variant, this method returns a
ClusterDescription. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.describeCluster(DescribeClusterOptions)
-
describeClusterAndForget
public KafkaAdminClient describeClusterAndForget(io.vertx.kafka.admin.DescribeClusterOptions options) LikedescribeCluster()but allows customized options.Unlike the bare Vert.x variant, this method ignores the
ClusterDescriptionresult or any failure.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.describeCluster(DescribeClusterOptions)
-
deleteConsumerGroups
Delete consumer groups from the cluster.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
groupIds- the ids of the groups to delete- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.deleteConsumerGroups(List)
-
deleteConsumerGroupsAndAwait
Delete consumer groups from the cluster.Unlike the bare Vert.x variant, this method returns a
Void. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
groupIds- the ids of the groups to delete- See Also:
-
KafkaAdminClient.deleteConsumerGroups(List)
-
deleteConsumerGroupsAndForget
Delete consumer groups from the cluster.Unlike the bare Vert.x variant, this method ignores the
Voidresult or any failure.- Parameters:
groupIds- the ids of the groups to delete- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.deleteConsumerGroups(List)
-
deleteConsumerGroupOffsets
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> deleteConsumerGroupOffsets(String groupId, Set<io.vertx.kafka.client.common.TopicPartition> partitions) Delete committed offsets for a set of partitions in a consumer group. This will succeed at the partition level only if the group is not actively subscribed to the corresponding topic.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
groupId- The group id of the group whose offsets will be deleted- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.deleteConsumerGroupOffsets(String, Set)
-
deleteConsumerGroupOffsetsAndAwait
public void deleteConsumerGroupOffsetsAndAwait(String groupId, Set<io.vertx.kafka.client.common.TopicPartition> partitions) Delete committed offsets for a set of partitions in a consumer group. This will succeed at the partition level only if the group is not actively subscribed to the corresponding topic.Unlike the bare Vert.x variant, this method returns a
Void. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
groupId- The group id of the group whose offsets will be deleted- See Also:
-
KafkaAdminClient.deleteConsumerGroupOffsets(String, Set)
-
deleteConsumerGroupOffsetsAndForget
public KafkaAdminClient deleteConsumerGroupOffsetsAndForget(String groupId, Set<io.vertx.kafka.client.common.TopicPartition> partitions) Delete committed offsets for a set of partitions in a consumer group. This will succeed at the partition level only if the group is not actively subscribed to the corresponding topic.Unlike the bare Vert.x variant, this method ignores the
Voidresult or any failure.- Parameters:
groupId- The group id of the group whose offsets will be deleted- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.deleteConsumerGroupOffsets(String, Set)
-
describeAcls
@CheckReturnValue public io.smallrye.mutiny.Uni<List<org.apache.kafka.common.acl.AclBinding>> describeAcls(org.apache.kafka.common.acl.AclBindingFilter aclBindingFilter) Describe the ACL rules.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
aclBindingFilter- The filter to use.- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.describeAcls(AclBindingFilter)
-
describeAclsAndAwait
public List<org.apache.kafka.common.acl.AclBinding> describeAclsAndAwait(org.apache.kafka.common.acl.AclBindingFilter aclBindingFilter) Describe the ACL rules.Unlike the bare Vert.x variant, this method returns a
List<org.apache.kafka.common.acl.AclBinding>. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
aclBindingFilter- The filter to use.- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.describeAcls(AclBindingFilter)
-
describeAclsAndForget
public KafkaAdminClient describeAclsAndForget(org.apache.kafka.common.acl.AclBindingFilter aclBindingFilter) Describe the ACL rules.Unlike the bare Vert.x variant, this method ignores the
List<org.apache.kafka.common.acl.AclBinding>result or any failure.- Parameters:
aclBindingFilter- The filter to use.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.describeAcls(AclBindingFilter)
-
createAcls
@CheckReturnValue public io.smallrye.mutiny.Uni<List<org.apache.kafka.common.acl.AclBinding>> createAcls(List<org.apache.kafka.common.acl.AclBinding> aclBindings) Create the ACL rules.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
aclBindings- The ACL to create.- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.createAcls(List)
-
createAclsAndAwait
public List<org.apache.kafka.common.acl.AclBinding> createAclsAndAwait(List<org.apache.kafka.common.acl.AclBinding> aclBindings) Create the ACL rules.Unlike the bare Vert.x variant, this method returns a
List<org.apache.kafka.common.acl.AclBinding>. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
aclBindings- The ACL to create.- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.createAcls(List)
-
createAclsAndForget
public KafkaAdminClient createAclsAndForget(List<org.apache.kafka.common.acl.AclBinding> aclBindings) Create the ACL rules.Unlike the bare Vert.x variant, this method ignores the
List<org.apache.kafka.common.acl.AclBinding>result or any failure.- Parameters:
aclBindings- The ACL to create.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.createAcls(List)
-
deleteAcls
@CheckReturnValue public io.smallrye.mutiny.Uni<List<org.apache.kafka.common.acl.AclBinding>> deleteAcls(List<org.apache.kafka.common.acl.AclBindingFilter> aclBindings) Delete the ACL rules.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
aclBindings- The filter to delete matching ACLs.- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.deleteAcls(List)
-
deleteAclsAndAwait
public List<org.apache.kafka.common.acl.AclBinding> deleteAclsAndAwait(List<org.apache.kafka.common.acl.AclBindingFilter> aclBindings) Delete the ACL rules.Unlike the bare Vert.x variant, this method returns a
List<org.apache.kafka.common.acl.AclBinding>. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
aclBindings- The filter to delete matching ACLs.- Returns:
- The operation result
- See Also:
-
KafkaAdminClient.deleteAcls(List)
-
deleteAclsAndForget
public KafkaAdminClient deleteAclsAndForget(List<org.apache.kafka.common.acl.AclBindingFilter> aclBindings) Delete the ACL rules.Unlike the bare Vert.x variant, this method ignores the
List<org.apache.kafka.common.acl.AclBinding>result or any failure.- Parameters:
aclBindings- The filter to delete matching ACLs.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.deleteAcls(List)
-
close
Close the admin clientUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.close()
-
closeAndAwait
public void closeAndAwait()Close the admin clientUnlike the bare Vert.x variant, this method returns a
Void. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- See Also:
-
KafkaAdminClient.close()
-
closeAndForget
Close the admin clientUnlike the bare Vert.x variant, this method ignores the
Voidresult or any failure.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.close()
-
close
Close the admin clientUnlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Parameters:
timeout- timeout to wait for closing- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
KafkaAdminClient.close(long)
-
closeAndAwait
public void closeAndAwait(long timeout) Close the admin clientUnlike the bare Vert.x variant, this method returns a
Void. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Parameters:
timeout- timeout to wait for closing- See Also:
-
KafkaAdminClient.close(long)
-
closeAndForget
Close the admin clientUnlike the bare Vert.x variant, this method ignores the
Voidresult or any failure.- Parameters:
timeout- timeout to wait for closing- Returns:
- The current instance to chain operations if needed.
- See Also:
-
KafkaAdminClient.close(long)
-
create
Create a new KafkaAdminClient instance- Parameters:
vertx- Vert.x instance to useconfig- Kafka admin client configuration- Returns:
- an instance of the KafkaAdminClient
-
newInstance
Creates a new instance of theKafkaAdminClient. -
hashCode
public int hashCode() -
equals
-
toString
-