Restrictions on the number of consumers (belonging to the same group) that can be read from a partition at the same time?

You can use multiple users belonging to the same consumer group from a section.

I would suggest not, so as not to process the same message more than once.

Yes, if consumers are from different groups, then yes, many consumers can read from one section without any problem. ( SOF question is already posted on this ).

But I especially ask about users from the same group reading the same section. Does Kafka allow it?

+3


source to share


1 answer


As you pointed out, Kafka doesn't allow this. To have something like this, you can use a consumer subscription and assign to another by specifying one or more sections, but you may have the problems described in the following article: https://paolopatierno.wordpress.com/2017/07/27 / apache-kafka-consumer-groups-dont-use-them-in-the-wrong-way /



+3


source







All Articles