Tip
|
The 2.x versions are Spring Boot 3 compatible. |
Fix bug where idempotency key of the CheckoutCompletionEvent was being sent as a random ULID, instead of the Cart id.
By sending the Cart id, re-sending the same CheckoutCompletionEvent is able to be done without the risk of the message being re-processed by a given listener. For example, the event may have only failed for OrderOps but not in OfferServices. Previously, re-sending the CheckoutCompletionEvent would cause all listeners to re-process. With these changes, only listeners that did not receive the event, or failed to process the event, would process the message.