'Grpc & Rest-client context issue
I have headed into an issue with losing the grpc context while using the reactive rest-client for downstream calls. Im unsure if it is my implementation or a bug related to grpc context. It seems to be similar to: https://github.com/quarkusio/quarkus/issues/13959, but according to comment that should be fixed.
Anyway the grpc context seems to be lost when a call is made downstream with the rest-client. I have setup a reproducer repo: https://github.com/AnteLund/grpc-context-lost-reproducer which has some tests to show the issue.
Any ideas?
Solution 1:[1]
It was a bug. It got fixed in Quarkus 2.8 (maybe even 2.7). The context was lost during the REST client call. Now, the context is preserved between the two calls.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Clement |
