Open
Description
The current fluvio topic describe
has been built 3 years ago and it's stale.
We should update this command with the following information:
$ fluvio topic describe my-topic
Name : my-topic
Replication : 1
Partitions : 2
State : Provisioned
PARTITION LEADER LAST-OFFSET LAST-PRODUCED CONSUMERS
0 5001 3,543 1 sec ago c1, c2
1 5002 1,240 5 sec ago c3
Note
Let's start with the client approach, as calculating and adding a PartitionStatus object on the SC is a bigger effort.
- To get last offset, use LEO (Last End Offset).
- To get last produced, get last event and get timestamp of the event. This could be done in the client (easier) or can be
- To get consumers, use
fluvio consumer list
as guidance.