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
Updates the configuration for the specified resources.
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
Creates the specified ACLs
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.
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 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 ConsumerGroupDescription
s as values.
Describes the consumer groups with the specified group ids, returning a Map
with group ids as keys, and ConsumerGroupDescription
s as values.
Attributes
- Source
- KafkaAdminClient.scala
Describes the topics with the specified topic names, returning a Map
with topic names as keys, and TopicDescription
s as values.
Describes the topics with the specified topic names, returning a Map
with topic names as keys, and TopicDescription
s as values.
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 ConsumerGroupListing
s using the following.
listConsumerGroups.listings
Attributes
- Source
- KafkaAdminClient.scala
Lists topics.
Lists topics. Returns topic names using:
listTopics.names
or TopicListing
s using:
listTopics.listings
or a Map
of topic names to TopicListing
s using the following.
listTopics.namesToListings
If you want to include internal topics, first use includeInternal
.
listTopics.includeInternal.listings
Attributes
- Source
- KafkaAdminClient.scala