Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trouble setting `startFrom` on `PersistentSubscriptionActor`

See original GitHub issue

First 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:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

t3hnarcommented, Mar 26, 2017

Thanks for good words 😃

drozzycommented, Mar 22, 2018

Oh, you probably mean this:

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found