Achieving exactly-once / "effectively-once" semantics #150
-
Hey! Thanks so much for making what looks like an amazing piece of software. So I'm new to Kafka and am trying to achieve exactly-once / "effectively-once" semantics with
and the following in consumer config:
and am using Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, that's right. But remember, Kafka's EoS only applies to messages in Kafka - not side effects of message processing. I.e. you may get duplicate calls to your web service or whatever you are doing in message processing. It's only useful when you want a poll and produce loop and you want to ensure exactly once existence of result messages in the output topics. When reading, don't forget to use |
Beta Was this translation helpful? Give feedback.
Yes, that's right. But remember, Kafka's EoS only applies to messages in Kafka - not side effects of message processing. I.e. you may get duplicate calls to your web service or whatever you are doing in message processing. It's only useful when you want a poll and produce loop and you want to ensure exactly once existence of result messages in the output topics.
When reading, don't forget to use
isolation.level=read_committed
in your consumer.