List topics
Return the topics in the cluster.
Command in the Kafka toolkit · id ooa.kafka/list_topics · 6 inputs, 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | Kafka REST Proxy address, e.g. https://pkc-12345.us-east-1.aws.confluent.cloud:443 or http://kafka-rest.internal:8082. | |
| Include internal | Boolean | No | false | Also list Kafka's own internal topics, whose names usually start with an underscore. |
| Cluster ID | String | No | Kafka cluster id. Leave empty to use the only (first) cluster the proxy serves. | |
| API key | String | No | API key or user name, used with api_secret. | |
| API secret | Credential | No | API secret or password from the vault. | |
| Access token | Credential | No | Bearer token from the vault, used instead of an API key and secret. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Columns: topic, partitions, replication_factor, internal. |
| names | List | Topic names only. |