Re: Consumer assign vs subscribe influence on __consumer_offset

2017-08-03 Thread Jason Gustafson
Hey Paolo, When you use the subscribe() API, you are using Kafka for group coordination. All members with the same group.id will balance the partitions of subscribed topics between themselves. When you use assign(), no such balancing takes place but you can still using Kafka to store offsets.

Consumer assign vs subscribe influence on __consumer_offset

2017-07-27 Thread Paolo Patierno
Hi devs, I have one simple topic named "test" with only one partition. then ... I have a consumer C1 using assign() for having assigned partition 0 of topic "test" and this consumer has group.id = "mygroup" I have another consumer C2 using subscribe() for having assigned partitions from topic