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
- retry topic — A topic that holds records whose processing failed so they can be tried again later without blocking the main topic.
- deterministic — Always producing the same result from the same inputs, with nothing left to chance or timing.
Taught in
- The Retry That Overtook — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Retries With Backoff Topics — Apache Kafka & Event Streaming