Administrative API
An administrative API is a programmatic interface that enables authorized users or software to manage a system’s configuration, resources, and operational state.
Kafka Streams in Action, Second Edition
AdminClient is Kafka's abstract administrative client class for performing operations on cluster resources.
- How it is used
- Supports programmatic inspection and management of Kafka topics, records, brokers, ACLs, and configuration.
- How deep it goes
- Explains topic creation, listing, deletion, asynchronous name retrieval, and client lifecycle, while deferring many similar methods.
- Examples
- Demonstrates Java code that creates, lists, and deletes local Kafka topics using localhost:9092.
- What you can do after
- Operate/configure Kafka topics programmatically for testing and prototyping with the Admin interface.
Read how Kafka Streams in Action, Second Edition explains administrative API →
Kafka for Architects
The Kafka Admin API is Kafka's programmatic interface for inspecting and modifying administrative resources and cluster configuration.
- How it is used
- Supports automated Kafka infrastructure management across environments, especially within DevOps and GitOps workflows.
- How deep it goes
- Defines administrative operations and request flow through brokers and controllers, but stops short of implementation walkthroughs.
- Examples
- Uses topic changes, ACL management, offset resets, dynamic broker configuration, and controller metadata updates as concrete operations.
- What you can do after
- Operate/configure Kafka resources consistently through automation rather than manual setup or ad hoc scripts.
Related concepts
- PowerShellproduced by · PowerShell is Microsoft's cross-platform command shell and scripting language for administering computer systems and automating tasks.
- role-based access controlconfigured by · Role-based access control is an authorization model that assigns permissions to roles and grants users or other principals access through their assigned roles.
- Kafka clusteruses · A Kafka cluster is a group of Kafka brokers that collectively store, distribute, and serve event streams.
- Apache Kafkauses · Apache Kafka is a distributed event-streaming platform for publishing, storing, processing, and consuming streams of records.
- log retentionaddresses · Log retention is a policy governing how long log records are kept and when they are removed.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

