You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2023/05/10 08:19:00 UTC

[jira] [Updated] (KAFKA-14982) Improve the kafka-metadata-quorum output

     [ https://issues.apache.org/jira/browse/KAFKA-14982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Chen updated KAFKA-14982:
------------------------------
    Labels: need-kip  (was: )

> Improve the kafka-metadata-quorum output
> ----------------------------------------
>
>                 Key: KAFKA-14982
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14982
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Luke Chen
>            Assignee: Federico Valeri
>            Priority: Major
>              Labels: need-kip
>
> When running kafka-metadata-quorum script to get the quorum replication status, I found the LastFetchTimestamp and LastCaughtUpTimestamp output is not human readable. The timestamp 1683701749161 is just a random integer to me. We should convert it into date/time (ex: May 10, 08:00 UTC), or if possible, convert it into strings like "10 seconds ago", "5 minutes ago"...
>  
>  
> {code:java}
>  % ./bin/kafka-metadata-quorum.sh --bootstrap-server localhost:9092 describe --replication
> NodeId    LogEndOffset    Lag    LastFetchTimestamp    LastCaughtUpTimestamp    Status      
> 1         166             0      1683701749161         1683701749161            Leader      
> 6         166             0      1683701748776         1683701748776            Follower    
> 7         166             0      1683701748773         1683701748773            Follower    
> 2         166             0      1683701748766         1683701748766            Observer {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)