akka/akka-core

Possibility to give persistence plugin configurations at runtime

Ouverte

#31 441 ouverte le 20 juin 2022

 (1 commentaire) (0 réaction) (0 personne assignée)Scala (3 547 forks)batch import
1 - triagedhelp wantedt:persistence

Métriques du dépôt

Stars
 (13 277 étoiles)
Métriques de merge PR
 (Merge moyen 8j 19h) (10 PRs mergées en 30 j)

Description

I see that Classic persistence has the possibility to provide plugin configuration at runtime. But the same feature is missing for typed implementation.

Was there a reason to drop it in the typed version or there is some other technique to handle it?

From Akka's sources, it looks like it is not possible to override it.

One option is to have multiple actor systems in a multi-tenant application, but not sure if this approach is good in general.

Guide contributeur