I’m using Quarkus Kafka consumer. And I need to know to which partitions my consumer has been assigned by Kafka broker. Any listener that I can use, just like the one that Kafka client provide. Otherwise how can I assign a specific partition in each of the nodes of my cluster?
Regards
From the Quarkus docs, I think you can use rebalance listener. It should be called, because the initial assignment of partitions to your client (from no partitions to some partitions) can be considered as rebalance too.
https://quarkus.io/guides/kafka#consumer-rebalance-listener