aiokafka icon indicating copy to clipboard operation
aiokafka copied to clipboard

[QUESTION] How do I get a list of member ID and URL mappings?

Open deed02392 opened this issue 4 years ago • 0 comments

I have a cluster of a few hundred consumers in a single consumer group, and I want to get the mapping between the node hostnames and the member UUID in case I notice for example that a consumer is processing its partition slower than others.

Sometimes this info is populated in faust.App.assignor._member_urls but not always (seemingly not if the group has just been created or the leader has never changed yet).

But even this is a private member anyway - is there a public method for fetching the current UUIDs and some other identifying information about the consumer, or does this just need to be logged by every consumer when it connects?

deed02392 avatar Jan 29 '21 11:01 deed02392