attempt counter

A number stored in a record that counts how many times processing it has been tried.

In more detail

Keeping the count in the record itself makes routing deterministic: the next topic depends only on the record, not on clocks or external state. The retry router increments it each time it forwards the record.

Example

{'amount': 99, 'attempt': 0}

Related terms

Taught in

References

Certification courses