-
Notifications
You must be signed in to change notification settings - Fork 124
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
Propagation mechanism which can carry scoped-values across API boundaries and between threads #393
Comments
We would like to migrate our current SclaPB based solution to akka-grpc, and this is the blocker we are facing. Can someone take a look, please? |
For the client:
For the server:
Does this help? |
@raboof, thanks we will check this and get back to you. |
Do you mean akka-http routes? If yes, where those generated routes are located? Or do you mean pattern matching over rpc name in generated service handler?
If you mean the latter than yes, we could wrap this handler and check request headers, but the downside is the lack of compile time check. Would be nice to have some example. |
We now have the power API and documentation for the Akka HTTP integration - I think I'd like to close this issue now, though feel free to open new ones for scenario's that aren't covered by the now-existing tools yet! |
In Java gRPC we have Context which allows for propagation of scoped-values across API boundaries and threads, which is useful for propagating security principals and similar.
I did not manage to find equivalent, nor how to accomplish this functionality using akka-grpc, hence my questions are:
The text was updated successfully, but these errors were encountered: