Skip to content

Latest commit

 

History

History
12 lines (6 loc) · 367 Bytes

README.md

File metadata and controls

12 lines (6 loc) · 367 Bytes

payments-kafka-examples

Demo of Kafka Transactions API.

Modified and improved Demo originally from https://www.baeldung.com/kafka-exactly-once

Two examples:

TransactionalMessageProducer.java shows how to send multiple messages in a single transaction.

TransactionalWordCount.java shows how to combine producing and consumig messages in a single transaction.