- Each topic has one or more partitions
- The no of topics in kafka is dependent on the circumstances in which Apache Kafka is intended to be used.It can be configurable
- A partition is the basis for which kafka can
- Scale
- Become fault-tolerant
- Achieve higher level of throughput
- Each partitions are maintained at at-least one or more brokers
Note: Each partition must fit on an entire machine. If we have one partition for a large and growing topic, we would be limited by the one broker node's ability to capture and retain messages being published to that topic. We would also run into IO constraints