event ID

A unique identifier the producer puts in each event so consumers can recognise the same event if it arrives twice.

In more detail

The ID must be stable: a retried or replayed copy carries the same one. Consumers store the IDs they have handled and skip repeats, or use the ID as the key of an upsert.

Example

{'event_id': 'evt-a', 'amount': 100}

Related terms

Taught in

References