How to get the Kafka queue offset

Symptoms

Want to get the Kafka queue offset.

Error Messages

N/A

Cause

N/A

Workaround Or Solution

Kafka queue offset information can be queried with the following command:

ls -ltr $(gadmin config get System.DataRoot)/kafka/deltaQ_GPE_* | awk -F ' ' '{print $9}' | awk -F '.' '{print $1}' |grep -v leader-epoch-checkpoint | sort | uniq