Tag Archives: Apache Kafka

How to prevent message loss when publishing events

Three techniques to prevent message loss One – Publish events synchronously the first technique you can take to prevent data loss. It is always to publish events synchronously, so you have to wait for the messaging platform to acknowledge that the message has been successfully published and persisted in the topic.  Do not publish events asynchronously. You do… Read More »