# \`kfk-cluster-state\` Grab cluster metadata in one command

**URL:** <https://forum.confluent.io/t/kfk-cluster-state-grab-cluster-metadata-in-one-command/4679>\
**Category:** Command Line tools\
**Created:** [3 April 2022 13:27 UTC](https://forum.confluent.io/t/kfk-cluster-state-grab-cluster-metadata-in-one-command/4679 "2022-04-03T13:27:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeqo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/jeqo/32/185_2.png) [@jeqo](https://forum.confluent.io/u/jeqo)\
**Post date:** [3 April 2022 13:27 UTC](https://forum.confluent.io/t/kfk-cluster-state-grab-cluster-metadata-in-one-command/4679/1 "2022-04-03T13:27:14Z")

</div>

Get brokers, topics, and offsets metadata in one command.

Docs: [poc-apache-kafka/cli/cluster-state at main · jeqo/poc-apache-kafka · GitHub](https://github.com/jeqo/poc-apache-kafka/tree/main/cli/cluster-state)
