orleans
orleans copied to clipboard
Feature request: IActivationFilter
In obit you have this extension interface: https://github.com/orbit/orbit/blob/master/actors/core/src/main/java/cloud/orbit/actors/extensions/LifetimeExtension.java
I thing it would be great to introduce IActionFilter with a similar signature to IIncomingGrainCallFilter.
Use cases:
- Custom storage solutions
- Logging
- Exception handling
- Integration to Orleans Dashboard
Cross-referencing Ability to intercept OnActivateAsync for grain
How should the API look, @SebastianStehle / others?
The IIncomingGrainCallFilter and IIncomingGrainCallContext is great. Would be good to have something similar with a Invoke delegate to control when your code is running.
+1 on this request. We have a need for the same. It would be great to have something like IIncomingGrainCallFilter for activations and de-activations
Is this something that is in scope for the 4.0 release?
@mkowalskigps if there's an API proposal, then we could. A PR would be welcome, too (and I can personally help anyone who's willing to give it a go, just message in Discord). It's a feature I believe we should implement.
Is there progress on this issue?
Needed by us as well.