Tuesday, August 22, 2023

Consumer Transaction Ayarları

Isolation Level
Açıklaması şöyle
Consumers can read messages with different isolation levels.
- In read_uncommitted mode, consumers read messages as soon as they are written.
- In read_committed mode, consumers only read messages that are committed.
Örnek
Şöyle yaparız
Properties props = new Properties();
...

// Set isolation level to read_committed
props.put(ConsumerConfig.ISOLATION_LEVEL_CONFIG, "read_committed");

No comments:

Post a Comment

Bufstream - Kafka Muadili

Giriş Açıklaması şöyle Bufstream was developed by Buf, a software company founded in 2020 to bring schema-driven development to the world...