Hi
Thanks for the response!
I do not think my use case is general enough, so I think I will spare
you the details, unless you "insist", when I will happy to do share?
Regards, Per Steffensen
On 20/02/18 20:57, Andras Beni wrote:
Hi Per,
Unfortunately you can not extract this information from the client.
Even if you implement your own PartitionAssignor to supply this
information to all the consumers, KafkaConsumer has its
ConsumerCoordinator implementation hard wired, so you cannot extract
that info. Here there is room for future improvement if your use case
is general enough.
What do you want to do with this information?
Best Regards,
Andras
On Tue, Feb 20, 2018 at 2:13 PM, Per Steffensen <perst...@gmail.com
<mailto:perst...@gmail.com>> wrote:
As a Kafka consumer I know which topic-partitions I am assigned to
within my consumer-group. What is the easiest way, as a client, to
get a complete overview of the assignments within the
consumer-group - specifically who (client-id, host/IP, port etc
(whatever is available)) is assigned to the partitions I am not
assigned to.
Thanks!
Regards, Per Steffensen