This visual shows how Kafka routes messages to partitions. When a message is created, Kafka checks if it has a key. If yes, it hashes the key and calculates the partition number by taking the hash modulo the number of partitions. If no key is present, Kafka uses round-robin to assign the next partition in order. The execution table traces three messages: two with keys 'user1' and 'user2' and one without a key. The first message goes to partition 1, the second to partition 0, and the third uses round-robin to go to partition 2. Variables like partition number, key, and round-robin counter update step by step. Key moments clarify why messages without keys use round-robin and how partition numbers are calculated. The quiz tests understanding of partition assignment and effects of changing partition count. The snapshot summarizes the key rules of Kafka partitioning for quick review.