-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Labels
Description
Describe the bug
In SubscribeServiceRequestHandler, handler will get appName from requestContext.
And requestContext will try get app from connection, if not get, will get from request, see GrpcRequestAcceptor.prepareRequestContext.
But the connectionMeta has default value - for appName when build new connection, which will cause GrpcRequestAcceptor never to get appName from request.
Expected behavior
Naming module subscriber can get appName correct if set
Actually behavior
always - for Naming module subscriber
How to Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See errors
Desktop (please complete the following information):
- Version nacos-server 2.3.2, nacos-client 2.1.0
- Module naming
Additional context
Add any other context about the problem here.
Reactions are currently unavailable