Event Driven Architecture, Exactly One Delivery, Kafka, Message Broker, Software Development.
but send it successfully, we have a problem. The diagram above shows a common error process, so how do we avoid sending twice? There are several approaches. The first approach is for the producer to maintain a unique constraint on the message, e.g. (producer_id, msg_id). When a send failure occurs,