Event Driven Architecture, Exactly One Delivery, Kafka, Message Broker, Software Development.
make each database update have a primary key and overwrite the rows with the same primary key. However, Solution 2 also has drawbacks. Firstly, it is not easy to define the primary key for each update. Secondly, when a consumer fails to handle and starts a replay, the saved results may time travel