How do multiple integration event handlers guarantee the idempotence of this integration event
lcheny-qwq opened this issue · comments
In UserCheckoutAcceptedIntegrationEventHandler, I see that the IdentifiedCommand is created to ensure that consumption is not repeated.
var requestCreateOrder = new IdentifiedCommand<CreateOrderCommand, bool>(createOrderCommand, @event.RequestId);
When CheckoutAcceptedIntegrationEvent have more than one handler, and requires each handler not repeat consumption, create IdentifiedCommand in each handler, do not conflict? Because they both use the same @event.RequestId as the Id of the IdentifiedCommand.
Thank you very much.