Is it possible to use locally subscribe method to catch events produced in different process? #1410
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
RES subscriptions works in scope of the process that RES client is running. You could handle that by implementing a catchup subscription pattern (reading from some stream/streams) in a separate process. See https://github.com/RailsEventStore/rails_event_store/tree/master/contrib/ruby_event_store-outbox outbox implementation from contrib projects. Maybe this will be suitable for you or be an inspiration how to implement your own solution. |
Beta Was this translation helpful? Give feedback.
RES subscriptions works in scope of the process that RES client is running. You could handle that by implementing a catchup subscription pattern (reading from some stream/streams) in a separate process. See https://github.com/RailsEventStore/rails_event_store/tree/master/contrib/ruby_event_store-outbox outbox implementation from contrib projects. Maybe this will be suitable for you or be an inspiration how to implement your own solution.