KafkaAdminClient represents an admin client for Kafka, which is able to describe queries about topics, consumer groups, offsets, and other entities related to Kafka.
Use KafkaAdminClient.resource or KafkaAdminClient.stream to create an instance.
Attributes
- Companion
- object
- Source
- KafkaAdminClient.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Forcefully abort a transaction which is open on a topic partition.
Forcefully abort a transaction which is open on a topic partition.
Attributes
- Source
- KafkaAdminClient.scala
Add a new voter node to the KRaft metadata quorum.
Alters client quota configurations with the specified alterations.
Alters client quota configurations with the specified alterations.
Attributes
- Source
- KafkaAdminClient.scala
Updates the configuration for the specified resources.
Incrementally update the configuration for the specified resources.
Incrementally update the configuration for the specified resources.
Attributes
- Source
- KafkaAdminClient.scala
Alters offsets for the specified group.
Alters offsets for the specified group. In order to succeed, the group must be empty.
Attributes
- Source
- KafkaAdminClient.scala
Change the reassignments for one or more partitions.
Change the log directory for the specified replicas.
Creates the specified ACLs
Creates a delegation token
Increase the number of partitions for different topics
Creates the specified topic.
Creates the specified topics.
Deletes ACLs based on specified filters
Delete committed offsets for a set of partitions in a consumer group.
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.
Attributes
- Source
- KafkaAdminClient.scala
Delete consumer groups from the cluster.
Delete records whose offset is smaller than the given offset of the corresponding partition.
Delete records whose offset is smaller than the given offset of the corresponding partition.
Attributes
- Source
- KafkaAdminClient.scala
Deletes the specified topic.
Deletes the specified topics.
Describes the ACLs based on the specified filters, returning a List of AclBinding entries matched
Describes the ACLs based on the specified filters, returning a List of AclBinding entries matched
Attributes
- Source
- KafkaAdminClient.scala
Describes all entities matching the provided filter that have at least one client quota configuration value defined.
Describes all entities matching the provided filter that have at least one client quota configuration value defined.
Attributes
- Source
- KafkaAdminClient.scala
Describes the cluster.
Describes the cluster. Returns nodes using:
describeCluster.nodes
or the controller node using:
describeCluster.controller
or the cluster ID using the following.
describeCluster.clusterId
Attributes
- Source
- KafkaAdminClient.scala
Describes the configurations for the specified resources.
Describes the consumer groups with the specified group ids, returning a Map with group ids as keys, and ConsumerGroupDescriptions as values.
Describes the consumer groups with the specified group ids, returning a Map with group ids as keys, and ConsumerGroupDescriptions as values.
Attributes
- Source
- KafkaAdminClient.scala
Describe the delegation tokens.
Describes finalized as well as supported features.
Query the information of all log directories on the given set of brokers.
Query the information of all log directories on the given set of brokers.
Attributes
- Source
- KafkaAdminClient.scala
Describes the state of the metadata quorum.
Describe producer state on a set of topic partitions.
Query the replica log directory information for the specified replicas.
Query the replica log directory information for the specified replicas.
Attributes
- Source
- KafkaAdminClient.scala
Describes the topics with the specified topic names, returning a Map with topic names as keys, and TopicDescriptions as values.
Describes the topics with the specified topic names, returning a Map with topic names as keys, and TopicDescriptions as values.
Attributes
- Source
- KafkaAdminClient.scala
Describe the state of a set of transactional IDs from the respective transaction coordinators, which are dynamically discovered.
Describe the state of a set of transactional IDs from the respective transaction coordinators, which are dynamically discovered.
Attributes
- Source
- KafkaAdminClient.scala
Describe all SASL/SCRAM credentials.
Elect a replica as leader for topic partitions.
Expire a delegation token, returning the expiry timestamp.
Fence out all active producers that use any of the provided transactional IDs.
Fence out all active producers that use any of the provided transactional IDs.
Attributes
- Source
- KafkaAdminClient.scala
Attributes
- Source
- KafkaAdminClient.scala
Lists consumer group offsets.
Lists consumer group offsets. Returns offsets per topic-partition using:
listConsumerGroupOffsets(groupId)
.partitionsToOffsetAndMetadata
or only offsets for specified topic-partitions using the following.
listConsumerGroupOffsets(groupId)
.forPartitions(topicPartitions)
.partitionsToOffsetAndMetadata
Attributes
- Source
- KafkaAdminClient.scala
Lists consumer groups.
Lists consumer groups. Returns group ids using:
listConsumerGroups.groupIds
or ConsumerGroupListings using the following.
listConsumerGroups.listings
Attributes
- Source
- KafkaAdminClient.scala
List offset for the specified partitions and isolation level.
List offset for the specified partitions and isolation level.
Attributes
- Source
- KafkaAdminClient.scala
List the current reassignments for the given partitions.
Lists topics.
Lists topics. Returns topic names using:
listTopics.names
or TopicListings using:
listTopics.listings
or a Map of topic names to TopicListings using the following.
listTopics.namesToListings
If you want to include internal topics, first use includeInternal.
listTopics.includeInternal.listings
Attributes
- Source
- KafkaAdminClient.scala
List active transactions in the cluster.
Get the metrics kept by the admin client.
Remove members from the consumer group by given member identities.
Remove members from the consumer group by given member identities.
Attributes
- Source
- KafkaAdminClient.scala
Remove a voter node from the KRaft metadata quorum.
Renew a delegation token and return the expiry timestamp.
Applies specified updates to finalized features.