-
Notifications
You must be signed in to change notification settings - Fork 337
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
preserve reentrant header used for actors ... through the service invocation process #964
Comments
I actually have this working with out too many changes ... that said I am sure the implementation is not up proper standards, missing scenarios, and certainly no tests ... is it worth submitting a PR or pointing to a fork to have folks take a look? |
basically tuck away the reentrant header id here (before service invocation) dotnet-sdk/src/Dapr.Client/DaprClientGrpc.cs Line 278 in 01cdc89
and then on the receiving end, pluck out the reentrant header id here
This seems to work fine ... so good enough to keep working ... would love to see support for this added in a proper way sometime in the future. |
Does anyone on the DAPR team have any thoughts on this ... I think maintaining the reentrant header id across service invocations is a good thing ! |
I understand that this functionality is technical feasible. However, it would be really helpful if you could provide more details about the specific scenario where this shortcoming is blocking you and your project. This information would strengthen the case for addressing this issue, rather than it being seen as an interesting aspect of an otherwise incomplete but usable feature. |
basically I have a case where I do something like this ...
so basically
|
Why do you need re-entrancy for this scenario? Why not simply call the actor anew with the message results? |
In the dapr doc info, they show some reentrant actor scenarios. It looks like the dapr dotnet sdk automatically creates and passes the reentrant header id ... so as long as you follow the basic scenarios described in the docs it works fine.
https://docs.dapr.io/developing-applications/building-blocks/actors/actor-reentrancy/
I am wanting a do a slightly different scenario that includes a service invocation in the process.
This is currently not working because the reentrant header is not automatically preserved during a service invocation.
The text was updated successfully, but these errors were encountered: