eclipse-vertx / eclipse-vertx/vertx-grpc

ContextInterceptor: sessionId between two servers

Open
#121 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
53
Forks
36
Avg merge
5h 49m
Merged PRs (30d)
60

Description

I'm trying to use the Context Server Interceptor from the Docs: https://vertx.io/docs/vertx-grpc-netty/java/#_grpc_server
I'm surprised that the context seems to be shared among all calls. I was under the impression from the example (using a sessionId),
that the context is not shared between completely unrelated calls. How is this supposed to work?

### Version

4.5.11

### Reproducer

* https://github.com/andrm/vertxcontext

### Steps to reproduce

1. Run the server
2. Run the client
3. The client makes two calls, one to the context-intercepting server instance, the second to a plain grpc vertx service, no interceptor
4. The second call should not have the sessionId

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.