You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea here is that we'd turn the create views actor into a persistent actor itself. It would keep track of the offset it processed and it would control the replay of the events to itself once it starts up.
In this case, we care more about the current count than anything, so we could probably snapshot every 1000 messages or so to keep things tidy.
I have a WIP PR from the private repo on this that languished a bit -- https://github.com/SeanKilleen/PortfoliOSS/pull/33 -- I can
surface that code here if it would be helpful, and will probably do so in due time.
This way we'll actually store the offset and resume it within that actor.
Also, this will mean making the actor a persistent actor so we can update the snapshot and offset it as well.
ef: https://github.com/SeanKilleen/2022-04_portfolioss_repro/pull/1/files
The text was updated successfully, but these errors were encountered: