Quiz · about 2 minutes · free
Why Key the Stream?
Two kills and a death arrive for Kai. Order matters.
Kafka only guarantees ordering within a partition, not across partitions.
Why partition game events by player ID in Kafka?
- It makes old events expire sooner
- It encrypts the data
- Events for one player stay together and in order
- It compresses the messages