Quantcast
Channel: Effective strategy to avoid duplicate messages in apache kafka consumer - Stack Overflow
Viewing all articles
Browse latest Browse all 9

Answer by Deepthi for Effective strategy to avoid duplicate messages in apache kafka consumer

$
0
0

Other alternative solutions would be:

  1. Produce a message with a unique key into the topic test
  2. On the consumer side, push an entry with the unique key into DB once processing is done successfully. Before starting the process at consumer id, check the unique key entry in the DB. If exists then the consumer already processed that message else do com

Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>