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

Runtime plugin configuration for DurableState #1798

Open
ptrdom opened this issue Mar 15, 2025 · 4 comments
Open

Runtime plugin configuration for DurableState #1798

ptrdom opened this issue Mar 15, 2025 · 4 comments

Comments

@ptrdom
Copy link
Member

ptrdom commented Mar 15, 2025

Just like with EventSourcedBehavior, it would be useful if runtime plugin configuration was possible for DurableState.

apache/pekko-persistence-r2dbc#194 adds the implementation for R2DBC plugin.

@pjfanning
Copy link
Contributor

@ptrdom Would you be able to provide a little more detail on which parts of the 194 PR that you think should be copied into this repo?

@ptrdom
Copy link
Member Author

ptrdom commented Mar 18, 2025

I think nothing will need to be copied into this repo from 194 PR, just that once this repo implements necessary changes for plugin interface then users will be able to use the plugin implementation from 194 PR.

Necessary changes will likely be, at the very least, to the DurableStateBehavior interface to allow setting the runtime config, then DurableStateStoreRegistry will need a new method to allow passing that config further to the plugin implementations.

@pjfanning
Copy link
Contributor

presumably something a bit like #1518

@ptrdom
Copy link
Member Author

ptrdom commented Mar 21, 2025

Yes, very similar indeed.

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

No branches or pull requests

2 participants