Skip to content
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

Persistent actor based on new persistence API #275

Closed

Conversation

dfakhritdinov
Copy link
Contributor

@dfakhritdinov dfakhritdinov commented Dec 9, 2023

This PR is third in the sequence of depended PRs:

  1. New persistence api module
  2. Interop w/ Akka Persistence plugins
  3. New persistent actor impl, this one

The PR adds EventSourcedPersistence implementation based on interop from previous PR and EventSourcedActorOf - actor build from the persistence and actor's lifecycle (of typeRecoveryStarted[F, S, E, Receive[F, Envelope[C], ActorOf.Stop]]). The actor can be used as Akka Cluster Sharding actor with persistence not limited by Akka Persistence API while still supporting it as an option.

Denys Fakhritdinov added 2 commits December 9, 2023 15:35
@dfakhritdinov dfakhritdinov requested a review from t3hnar December 9, 2023 15:29
@dfakhritdinov dfakhritdinov force-pushed the df/persistence-plugins-interop branch from c68683d to 5200b11 Compare December 12, 2023 14:36
@dfakhritdinov dfakhritdinov deleted the df/persistence-actor-impl branch January 23, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant