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

ContextInterceptor: sessionId between two servers #121

Open
andrm opened this issue Jan 15, 2025 · 0 comments
Open

ContextInterceptor: sessionId between two servers #121

andrm opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@andrm
Copy link

andrm commented Jan 15, 2025

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

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
@andrm andrm added the bug Something isn't working label Jan 15, 2025
@vietj vietj added this to the 4.5.12 milestone Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants