rpk topic describe-storage
Describe the topic storage status.
This commands prints detailed information about the cloud storage status of a given topic. The information is divided into four sections:
-
Summary
The summary section contains general information about the topic, the cloud storage mode (one of disabled, write_only, read_only, full, and 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
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.
-
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 |
---|---|---|
|
- |
Help for describe-storage. |
|
- |
Print the times and bytes in a human-readable form. |
|
- |
Print all cloud storage status. |
|
- |
Print the offset section. |
|
- |
Print the log size section. |
|
- |
Print the summary section. |
|
- |
Print the sync section. |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |