{"id":"partitioned-log-key-routing-deterministic","text":"Messages with the same key always route to the same partition via `MD5(key) % num_partitions`, guaranteeing per-key ordering within a partition.","truth_value":"IN","source":"entries/2026/05/29/partitioned-log-partitioned_log.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"def _partition_for_key(self, key):\n    return hash(key) % self._num_partitions"},"explanation":{"steps":[{"node":"partitioned-log-key-routing-deterministic","truth_value":"IN","reason":"premise"}]}}