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

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -