I'm new to Kafka and I'm trying to understand partitions. The general explanations online have not helped so I want to build a simple example to understand.
Lets say we have:
- 2 topics
- Colours with 2 partitions
- Numbers with 2 partitions
- 1 broker
- No replication
In this case, is the diagram below how the data will look? Here the data is input to partitions round robin, both partitions take some of the data from both topics. If this is accurate, how do consumers get each next value? They would need to move from partition to partition, but they could find data from a different topic.