I want to get the details of the consumer group using confluent-kafka. The cli equivalent of that is `
./kafka-consumer-groups.sh --bootstrap-server XXXXXXXXX:9092 --describe --group my-group
My end goal is to get the value of lag from the output. Is there any method in confluent-kafka python API to get these details. There is a method in the java API but I couldn't find it in python API.
I tried using the describe_configs method in the adminClient API but it ended up throwing kafkaException with following details
This most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details.