Let's say we are designing a system using Apache Kafka which will send some kind of messages from one system to another. While designing to need to consider below questions:
- How do we guarantee all messages are processed?
- How do we avoid/handle duplicate messages?