akka/akka-core

Possibility to give persistence plugin configurations at runtime

Open

#31.441 aberto em 20 de jun. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Scala (3.547 forks)batch import
1 - triagedhelp wantedt:persistence

Métricas do repositório

Stars
 (13.277 stars)
Métricas de merge de PR
 (Mesclagem média 17h 35m) (11 fundiu PRs em 30d)

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.

Guia do colaborador