Reputation: 11793
All, Forgive me I am a newbie just beginner of Kafka
. Currently I was reading the document of Kafka
about the difference between traditional message system like Active MQ
and Kafka
.
As the document put.
For the traditional message system. they can not scale the message processing. Since
Publish-subscribe allows you broadcast data to multiple processes, but has no way of scaling processing since every message goes to every subscriber.
I think this make sense to me.
But for the Kafka
. Document says the Kafka
can scale the message processing even in the publish-subscribe mode. (Please correct me if I was wrong. Thanks.)
The consumer group concept in Kafka generalizes these two concepts. As with a queue the consumer group allows you to divide up processing over a collection of processes (the members of the consumer group). As with publish-subscribe, Kafka allows you to broadcast messages to multiple consumer groups.
The advantage of Kafka's model is that every topic has both these properties—it can scale processing and is also multi-subscriber—there is no need to choose one or the other.
So my question is How Kafka
make it ? I mean scaling the processing in the publish-subscribe mode. Thanks.
Upvotes: 0
Views: 988
Reputation: 8335
The main unique features in Kafka that enables scalable pub/sub are:
Upvotes: 2