Skip to content

Is it possible to use locally subscribe method to catch events produced in different process? #1410

Answered by mpraglowski
MoniaMoni asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MoniaMoni
Comment options

Answer selected by MoniaMoni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants