0

I have several consumers that connect to Kafka Cluster that I do not have control over. At the same time, I would like to have visibility into how those consumers are configured.

Is there an API to list all consumers (if there is one for publishers, it is an added benefit) and then read all their configs? I am talking about these consumer settings:

https://docs.confluent.io/current/installation/configuration/consumer-configs.html#cp-config-consumer

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Ihor M.
  • 2,728
  • 3
  • 44
  • 70
  • Does this answer your question? [Kafka consumer list](https://stackoverflow.com/questions/32697999/kafka-consumer-list) – Michael Heil May 19 '20 at 13:51

1 Answers1

1

This is not possible as most of those settings are configured at the consumer only and are not pushed to the brokers or any topic.

It's possible however to get a high-level description for a given consumer group:

./kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group consumer-group
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Dave Canton
  • 178
  • 4