Principle:Apache Kafka Topic Listing
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Administration, Monitoring |
| Last Updated | 2026-02-09 12:00 GMT |
Overview
A query operation that retrieves the set of topic names available in a Kafka cluster.
Description
Topic Listing queries the cluster metadata to return all topic names. It can optionally include or exclude internal topics (those prefixed with underscore, like __consumer_offsets). The operation uses a MetadataRequest to fetch the list from any broker.
Usage
Use this principle for cluster inventory, monitoring dashboards, or as a prerequisite step before describe/alter/delete operations.
Theoretical Basis
- Metadata Query: Send a MetadataRequest to any broker to retrieve the full topic list.
- Filtering: Optionally exclude internal topics from the results.
- Sorting: Return results in alphabetical order for consistent display.
Related Pages
Implemented By
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment