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

gRPC integration with MicroProfile Context Propagation #8660

Open
njr-11 opened this issue Aug 19, 2019 · 0 comments
Open

gRPC integration with MicroProfile Context Propagation #8660

njr-11 opened this issue Aug 19, 2019 · 0 comments
Labels
Epic Used to track Feature Epics that are following the UFO process in:Transport story team:Sirius

Comments

@njr-11
Copy link
Contributor

njr-11 commented Aug 19, 2019

User Stories:
"As a user of Liberty, I want gRPC context to be propagated to dependent completion stage actions (via MicroProfile Context Propagation) so that invoke gRPC operations from any dependent stage, regardless of which thread it runs on."

"As a user of Liberty, I want the absence of gRPC context to be propagated to dependent completion stage actions (via MicroProfile Context Propagation) so that completion stage actions do not inadvertently run with and unexpected gRPC context (such as that of a thread which request the result or completes another stage in the hierarchy upon which it depends)."

The following issue represents the requirement on the MicroProfile Context Propagation specification side,
eclipse/microprofile-context-propagation#159
All of the work should be done under the gRPC feature first (will involve supplying a ThreadContextProvider implementation for gRPC either from the gRPC binary, or independently by Liberty - which would require support in gRPC for context clearing).
The ThreadContextProvider will choose a constant to indicate gRPC context, a value such as "gRPC". After this is all implemented, then the MP Context Propagation spec can be separately updated to reference the constant for the gRPC context type.

@njr-11 njr-11 added Epic Used to track Feature Epics that are following the UFO process story in:Transport team:Sirius labels Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Used to track Feature Epics that are following the UFO process in:Transport story team:Sirius
Projects
Status: gRPC - Open Work
Development

No branches or pull requests

1 participant