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.
- Companion:
- object
- Source:
- KafkaAdminClient.scala
Value members
Abstract methods
Updates the configuration for the specified resources.
Updates the configuration for the specified resources.
- Source:
- KafkaAdminClient.scala
Alters offsets for the specified group. In order to succeed, the group must be empty.
Alters offsets for the specified group. In order to succeed, the group must be empty.
- Source:
- KafkaAdminClient.scala
Increase the number of partitions for different topics
Increase the number of partitions for different topics
- Source:
- KafkaAdminClient.scala
Deletes ACLs based on specified filters
Deletes ACLs based on specified filters
- Source:
- KafkaAdminClient.scala
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.
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.
- Source:
- KafkaAdminClient.scala
Delete consumer groups from the cluster.
Delete consumer groups from the cluster.
- Source:
- KafkaAdminClient.scala
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
- Source:
- KafkaAdminClient.scala
Describes the cluster. Returns nodes using:
Describes the cluster. Returns nodes using:
describeCluster.nodes
or the controller node using:
describeCluster.controller
or the cluster ID using the following.
describeCluster.clusterId
- Source:
- KafkaAdminClient.scala
Describes the configurations for the specified resources.
Describes the configurations for the specified resources.
- Source:
- KafkaAdminClient.scala
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.
- 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.
- Source:
- KafkaAdminClient.scala
Lists consumer group offsets. Returns offsets per topic-partition using:
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
- Source:
- KafkaAdminClient.scala
Lists consumer groups. Returns group ids using:
Lists consumer groups. Returns group ids using:
listConsumerGroups.groupIds
or ConsumerGroupListing
s using the following.
listConsumerGroups.listings
- Source:
- KafkaAdminClient.scala
Lists topics. Returns topic names using:
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
- Source:
- KafkaAdminClient.scala