orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Feature request: IActivationFilter

Open SebastianStehle opened this issue 6 years ago • 9 comments

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:

  1. Custom storage solutions
  2. Logging
  3. Exception handling
  4. Integration to Orleans Dashboard

SebastianStehle avatar Apr 27 '18 09:04 SebastianStehle

How should the API look, @SebastianStehle / others?

ReubenBond avatar May 01 '18 01:05 ReubenBond

The IIncomingGrainCallFilter and IIncomingGrainCallContext is great. Would be good to have something similar with a Invoke delegate to control when your code is running.

SebastianStehle avatar May 01 '18 05:05 SebastianStehle

+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

ravarnamsft avatar Feb 08 '19 18:02 ravarnamsft

Is this something that is in scope for the 4.0 release?

mkowalskigps avatar Jun 12 '22 20:06 mkowalskigps

@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.

ReubenBond avatar Jun 12 '22 21:06 ReubenBond

Is there progress on this issue?

hankovich avatar Jan 09 '24 23:01 hankovich

Needed by us as well.

tomachristian avatar Aug 13 '24 06:08 tomachristian