Trouble setting `startFrom` on `PersistentSubscriptionActor`
See original GitHub issueFirst of all, thank you for an amazing library. 😃
Background: I’m using it using Java interop from Clojure. I’ll be happy to paste some code snippets if it helps but for now my question is pretty simple. … I hope. 😉
I’m creating PersistentSubscriptionActor
and it works perfectly. The thing that is bugging me is that I’d like to have an option to specify startFrom
. Is it at all supported?
I plan on using the actor version to optimistically consume the stream while persisting computation results every n events so there may be a need to restart processing from known point in case of crashes.
I tried to find a way to use PersistentSubscriptionSettings
but can’t find a way to pass it. I’ve been poring over the source code and the tests but I’m just not enough Scala-savvy to figure it out on my own.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
Thanks for good words 😃
Oh, you probably mean this: https://github.com/msemys/esjc