Grpc & Rest-client context issue

Viewed 91

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?

1 Answers

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.

Related