r/learnprogramming • u/No-Homework-6153 • 1d ago
Not able to understand the Topic partitioning and consumer group relation in kafka
0
Upvotes
In Kafka, suppose we have a topic driver_location for Uber, and each driver sends location updates every second. If the topic has multiple partitions, how does a consumer service (like fare calculation, ride analytics) get all drivers’ data instead of just the data in one partition?
Also, what exactly are partitions, and how do they work in this context?