In an event stream, a partition is a subdivision of a topic that lets multiple workers process events in parallel. Events with the same partition key go to the same partition, where one consumer processes them in order. That ordering guarantee does not extend across partitions. This differs from a network partition, which is a communication break between distributed nodes. section 7.4.2 section 2.9
Keep related events together
Use order_id as a partition key so events for the same order are routed to the same partition and processed in order. Do not assume events across different partitions have a global order. section 7.4.2



