rpk topic describe

Describe a topic.

This command prints detailed information about a topic. There are three potential sections: a summary of the topic, the topic configs, and a detailed partitions section. By default, the summary and configs sections are printed.

Usage

rpk topic describe [TOPIC] [flags]

Aliases

describe, info

Flags

Value Type Description

-h, --help

-

Help for describe.

-a, --print-all

-

Print all sections.

-c, --print-configs

-

Print the config section.

-p, --print-partitions

-

Print the detailed partitions section.

-s, --print-summary

-

Print the summary section.

--stable

-

Include the stable offsets column in the partitions section; only relevant if you produce to this topic transactionally.

--config

string

Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail.

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.