Status: IN
Messages with the same key always route to the same partition via `MD5(key) % num_partitions`, guaranteeing per-key ordering within a partition.
Source: entries/2026/05/29/partitioned-log-partitioned_log.md
def _partition_for_key(self, key):
return hash(key) % self._num_partitions