Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

KafkaStreams processing guarantee exactly_once and exactly_once_beta difference

The question is simple, what is the difference between those two guarantees in Kafka Streams?

processing.guarantee: exactly_once / exactly_once_beta

Docs says

Using "exactly_once" requires broker version 0.11.0 or newer, while using "exactly_once_beta" requires broker version 2.5 or newer. Note that if exactly-once processing is enabled, the default for parameter commit.interval.ms changes to 100ms.

But there's nothing about difference.

like image 523
simPod Avatar asked Oct 17 '25 06:10

simPod


1 Answers

When you configure exactly_once_beta, transaction processing will be done using a new implementation, enabling better performance as the number of producers increases.

Note however that a two-step migration will be necessary if you have been using exactly_once with an earlier Kafka version.

like image 133
Evgeniy Berezovsky Avatar answered Oct 21 '25 12:10

Evgeniy Berezovsky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!