rpk cluster txn describe

Describe transactional IDs.

This command, in comparison to list, is a more detailed per-transaction view of transactional IDs. In addition to the state and producer ID, this command also outputs when a transaction started, the epoch of the producer ID, how long until the transaction times out, and the partitions currently a part of the transaction. For information on what the columns in the output mean, see rpk cluster txn --help.

By default, all topics in a transaction are merged into one line. To print a row per topic, use --format=long. To include partitions with topics, use --print-partitions; --format=json/yaml will return the equivalent of the long format with print partitions included.

If no transactional IDs are requested, all transactional IDs are printed.


rpk cluster txn describe [TXN-IDS...] [flags]


Value Type Description

-h, --help


Help for describe.

-p, --print-partitions


Include per-topic partitions that are in the transaction.



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


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



Output format. Possible values: json, yaml, text, wide, help. Default: text.



Profile to use. See rpk profile for more details.

-v, --verbose


Enable verbose logging.