-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Sink
to extension as a writer endpoint
#42
Comments
Can you explain better this issue? |
So this would be something in the extension (I guess?) that would provide a Sink to stream journal events into. It would be useful if you were running two of these journals (for example) and wanted to transfer one journal into the other - just run an |
" It would be useful if you were running two of these journals (for example) and wanted to transfer one journal into the other" |
That's the use case I have in my head, but it's also deeper than that. I think that it would be good to rebuild the write side of the journal on top of Akka streams for the advantages (like backpressure). If we ignore deletes for now, there are two parts to the write side:
Exposing a Sink could be a good start towards re-building the base layer. I think this could end up cleaning up the code as well, moving more into the |
Wow, it's awesome! The plugin would become fully async, non-blocking and backpressured. |
Closes flow for
ReadJournal
queries to write to journalThe text was updated successfully, but these errors were encountered: