at-most-once delivery

A delivery guarantee in which each message is processed once or not at all, never twice.

A crash between commit and processing silently loses records.

In more detail

A consumer gets it by recording its progress before doing the work. If it crashes in between, those messages are skipped on restart and lost.

Example

Kafka: call consumer.commit() before processing each record.

Related terms

Taught in

References

Certification courses