Admit your mistake and clarify you really mean "idempotency" or "effectively once," and only if you say completely within the bounds of Kafka, and move on.
It's becoming a bit of a joke having to combat their fairy dust in my profession.
Admit your mistake and clarify you really mean "idempotency" or "effectively once," and only if you say completely within the bounds of Kafka, and move on.
It's becoming a bit of a joke having to combat their fairy dust in my profession.
Another objection I’ve heard to this is that it isn’t really “exactly once” but actually “effectively once”. I don’t disagree that that phase is better (though less commonly understood) but I’d point out that we’re still debating the definitions of undefined terms!
I have to say I agree with this.
how do the two guarantees, "effectively once" and "at most once" differ?
"Effectively once" implies "you got the same thing 1000 times but ignored 999 of them because you already got it."
With an "exactly once" guarantee, I could send you a stream of integers (1,2,3,4,5) and you could blindly/naively/simplistically add them with no special concern and be confident that your answer of 15 was correct.
With "effectively once," you'd have to keep track of what you've seen before so you know not to add 4 an extra 6 times and come up with the wrong sum of 39.
With "at most once" you may be sitting around with a sum of 0 and think that's correct.