Skip to main content

List topics

Return the topics in the cluster.

Command in the Kafka toolkit · id ooa.kafka/list_topics · 6 inputs, 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNoKafka REST Proxy address, e.g. https://pkc-12345.us-east-1.aws.confluent.cloud:443 or http://kafka-rest.internal:8082.
Include internalBooleanNofalseAlso list Kafka's own internal topics, whose names usually start with an underscore.
Cluster IDStringNoKafka cluster id. Leave empty to use the only (first) cluster the proxy serves.
API keyStringNoAPI key or user name, used with api_secret.
API secretCredentialNoAPI secret or password from the vault.
Access tokenCredentialNoBearer token from the vault, used instead of an API key and secret.

Outputs​

OutputTypeWhat it is
tableTableColumns: topic, partitions, replication_factor, internal.
namesListTopic names only.