InterviewSolution
Saved Bookmarks
| 1. |
What is a role of consumer in Kafka? |
|
Answer» Consumer is a subscriber who consume the messages which predominantly stores in a partition. Consumer is a separate process and can be separate application altogether which run in INDIVIDUAL machine.
If all the consumer falls into the same consumer group, then by using load balancer the message will be DISTRIBUTED over the consumer instances, if consumer instances falls in different group, than each message will be broadcast to all consumer group. |
|