-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi Vincenzo,
I stumbled upon this repo looking for a reference to implement the outbox pattern. You really did a good job here👍
Getting an issue in this repo might sound weird but I just wanted to give you some insight on something. I see that when you store the messages to the outbox persistence you perform it like this (in the publishers):
OutboxEvent savedOutboxEvent = this.outboxEventRepository.save(outboxEvent);
this.outboxEventRepository.delete(savedOutboxEvent);While understanding why you delete them, I think it would be better not to. There are two main reasons for this:
- They will be of great help for troubleshooting (acting like a log)
- They will enable the replay of messages
Let me know your thoughts.
Thanks!
vincenzocorso
Metadata
Metadata
Assignees
Labels
No labels