How does the partition key in Event Hubs determine message routing?
- A Messages with the same partition key go to the same partition, preserving order for that key (correct answer)
- B Messages are round-robined across partitions ignoring partition key
- C Partition key maps to a specific throughput unit
- D Partition key determines the consumer group
Shortcut: Event Hubs hashes the partition key and routes all events with the same key to the same partition. , all events from device-123 go to partition 5).
Event Hubs hashes the partition key and routes all events with the same key to the same partition. This ensures ordered delivery per key (e.g., all events from device-123 go to partition 5).