Writing to EventStore is taking so much time, sometimes it doesn't work, and events don't reach directly to Application endpoint.
See original GitHub issueI’m facing an issue trying to build the Application endpoint that will have handlers and listen to events that’s triggered in the Domain endpoint using Apply
method.
-
When I run both endpoints together: I was facing an issue that sometimes command reach the domain handler and the method
Apply
but is not saved in the EventStore (I can’t see it in the “Stream Browser” window), then it started working. -
When I run only the Domain endpoint without running the Application endpoint, all works perfectly.
-
When I run again the Domain endpoint+Application endpoint the domain works and data saved in ES but event doesn’t reach the Application, BUT if I turned off the Application endpoint and run it again, I receive ALL the events that I Domain triggered from the beginning of the test (all stacked there), even after receiving them, If I re-run the Application endpoint again I receive them again.
The tests all done using the ToDo sample code.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Oh yes I absolutely agree if you are pausing the debugger in an app you’ll need to set the timeouts very long.
Agg.net doesn’t handle connecting to the event store itself but the logic is simple using the event store api. You’ll also need to set the timeouts on the server settings as well
Hi @charlessolar, Regarding the issue of setting timeout, any advice ?!