concept Kafka topic in category storm

appears as: Kafka topic
Storm Applied: Strategies for real-time event processing

This is an excerpt from Manning's book Storm Applied: Strategies for real-time event processing.

Partitioning for distributing a Kafka topic

When a message producer writes to a Kafka topic, it writes a given message to a particular partition of that topic. A partition is an ordered, immutable sequence of messages that’s continually being appended to. A topic can have multiple partitions, and these partitions can be distributed across multiple Kafka brokers. A message consumer will read from each partition in order to see the entire topic. Figure 9.2 illustrates a single topic distributed across multiple partitions.

Figure 9.2. Distribution of a Kafka topic as group of partitions on many Kafka brokers