I would like to monitor the consumer groups (Kafka based groups not ZK) in my Kafka cluster from within a Python application (I am open to using either of the Kafka-python library and the confluent Kafka client). The purpose is to launch more (or delete some) consumers based on each Consumer-Group's lag.
The confluent Kafka admin API does not seem to have a Python option to do this. Burrow seems to be an option. But it will be an extra service to set up and monitor.
Any alternate approaches are also welcome. I am looking for the best practice to do this.
Thank you!