Hello, Transactional messaging is actually designed to solve this scenario exactly (pun intended :). Although in your app you may not have stateful logic, it is still necessary to enable transactional messaging if you are using consumer/producer, or just enable EOS if you are using streams.
Guozhang On Sun, Jun 2, 2019 at 8:22 PM [email protected] <[email protected]> wrote: > Hi > I have a application consume from Kafka, process and send to Kafka. In > order to prevent data loss, I need to commit consumer offset after > committing a batch of messages to Kafka successfully. I investigate > Transaction fearture that provided atomic writes to multiple partitions > could solve my problem. Has any other recommended solution in addition to > enable Transcation( I dont need exactly once process)? > > > > [email protected] > -- -- Guozhang
