call(back)

Kafka Delivery Semantics

Explain how Kafka works and what delivery guarantees it gives. How do consumer groups, offsets and acknowledgements produce at-most-once, at-least-once or exactly-once behaviour?

Answer out loud in under a minute: a definition, one concrete example, and one pitfall or trade-off.

Hints

Hint 1

Think about the two moments a consumer can crash: after processing but before committing, and after committing but before processing.

Asked at

Similar Problems5