rpk topic describe-storage
Describe the cloud storage status of a topic, including storage mode, offset availability, segment sizes, and synchronization state.
Usage
rpk topic describe-storage <topic> [flags]
Summary
The summary section contains general information about the topic, the cloud storage mode (one of disabled, write_only, read_only, full, read_replica, cloud_topic, and cloud_topic_read_replica), and the delta in milliseconds since the last upload of either the partition manifest or a segment.
Offset
The offset section contains the start and last offsets (inclusive) per
partition of data available in both the cloud and on local disk.
Size
For tiered storage topics, the size section contains the total bytes per partition in the cloud and on local disk, the total size of the log of each partition (excluding cloud and local overlap), and the number of segments in the cloud and on local disk. The cloud segment count does not include segments queued for deletion.
For cloud topics, the size section shows the L0 (level zero) and L1 (level one) byte breakdown, the total bytes, and the number of L1 extents.
Sync
The sync section contains the state of cloud synchronization: milliseconds since the last upload of the partition manifest, milliseconds since the last segment upload, milliseconds since the last manifest sync (for read replicas), and whether the remote metadata has a pending update to include all uploaded segments.
Flags
| Value | Type | Description |
|---|---|---|
|
bool |
Print times (in milliseconds) and byte values in human-readable units (for example, 1.2 GiB, 3m 20s). |
|
bool |
Print all cloud storage status. |
|
bool |
Print the offset section. |
|
bool |
Print the log size section. |
|
bool |
Print the summary section. |
|
bool |
Print the sync section. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |