Kafka distributing messages from a partition among consumers -
i have kafka topic has 3 partitions. want consumers read same partition each message should go different consumer in round-robin fashion. possible achieve this?
in order that, have implement consumer group. it's provided out of box kafka. have specify same group.id tree consumer.
[edit] but, each consumers read in different kafka partition. think make difference consumer mthe same group read in same partition not possible if you're using kafka api.
see more in documentation : http://kafka.apache.org/documentation.html#intro_consumers
Comments
Post a Comment