co-location

Placing related records in the same partition, by giving them the same key, so one consumer sees them together and in order.

In more detail

Co-location is what makes per-entity processing, such as all events for one order, safe to do in a single consumer. It depends on the partition count staying the same.

Related terms

Taught in

References