This content originally appeared on DEV Community and was authored by Vineeth Kumar
Hi Team,
I have a use-case for which I need your help. I have to use kafka-client and read information from a cluster. I am using java here.
The task is to connect to kafka-cluster, read the available topics and get the information about producers who contributed into those topics and consumers who have read from those topics.
I am able to connect to cluster and read topics. But I am not able to find way to get producer and consumer information (even id's). I wasn't able to find any resource on this online.
Note: I wont be creating either producers or consumers myself. I can do only Read operation.
Thanks in Advance.
This content originally appeared on DEV Community and was authored by Vineeth Kumar

Vineeth Kumar | Sciencx (2025-08-28T11:09:54+00:00) Information on Accessing Producer and Consumer Details. Retrieved from https://www.scien.cx/2025/08/28/information-on-accessing-producer-and-consumer-details/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.