SuuCat icon indicating copy to clipboard operation
SuuCat copied to clipboard

Question about Saga

Open ayazzali opened this issue 1 year ago • 6 comments

What if while creating order rabbit will be rebooting or smth - so that means OrderCreatedEvent will not be created created and order will always stay at Pending status.

PS just learning sagas and stuff. Your repo is excellent for learning. Thanks PPS dint see some simple ui so we can easily create user product and order it

ayazzali avatar Jan 29 '24 21:01 ayazzali

To make sure it is sent, the Outbox Pattern must be applied to send "at least once". I will use it in this project to show the outbox pattern in the future. You can use Swagger UI to send requests. I also plan to share Postman collection when it matures.

Thanks.

ebubekirdinc avatar Jan 30 '24 14:01 ebubekirdinc

Hello, I have a question, for eg when OrderCompletedEvent is published by the statemachine to both Order and Notification services shall consume the same event, but if Order consumes first the message then it wont be consumed by Notification because once it is consumed it is deleted from the queue.

elenacalugaru avatar Feb 21 '24 13:02 elenacalugaru

Yes, in this case it should be sent as an event, not as a command.

ebubekirdinc avatar Feb 25 '24 10:02 ebubekirdinc

To make sure it is sent, the Outbox Pattern must be applied to send "at least once". I will use it in this project to show the outbox pattern in the future. You can use Swagger UI to send requests. I also plan to share Postman collection when it matures.

Thanks.

I am eagerly waiting for outbox/inbox pattern. I liked your saga implementation

akash-karve-dev avatar Feb 27 '24 21:02 akash-karve-dev

To make sure it is sent, the Outbox Pattern must be applied to send "at least once". I will use it in this project to show the outbox pattern in the future. You can use Swagger UI to send requests. I also plan to share Postman collection when it matures. Thanks.

I am eagerly waiting for outbox/inbox pattern. I liked your saga implementation

Thanks. I will develop the inbox/outbox pattern soon.

ebubekirdinc avatar Mar 04 '24 17:03 ebubekirdinc

Hi there, any update on the inbox/outbox pattern? I'm currently learning MT with Sagas and your repository is great place for learning :) Thank you for sharing the code 👍👏💪

Misiu avatar May 24 '24 13:05 Misiu