list
List all kafka topics
Usage
ionosctl kafka topic list [flags]
Aliases
For topic
command:
[cl]
For list
command:
[ls]
Description
List all kafka topics
Options
-u, --api-url string Override default host URL (default "https://kafka.de-fra.ionos.com")
--cluster-id string The ID of the cluster (required)
--cols strings Set of columns to be printed on output
Available columns: [Id Name ReplicationFactor NumberOfPartitions RetentionTime SegmentByes State]
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
-f, --force Force command to execute without user input
-h, --help Print usage
-l, --location string Location of the resource to operate on. Can be one of: de/fra, de/txl
--no-headers Don't print table headers when table output is used
-o, --output string Desired output format [text|json|api-json] (default "text")
-q, --quiet Quiet output
-v, --verbose Print step-by-step process when running command
Examples
ionosctl kafka topic list --location LOCATION
ionosctl kafka topic list --location LOCATION --cluster-id CLUSTER_ID
Last updated