lyx2000 commented on code in PR #6522:
URL: https://github.com/apache/rocketmq/pull/6522#discussion_r1159571233
##########
proxy/src/main/java/org/apache/rocketmq/proxy/grpc/interceptor/AuthenticationInterceptor.java:
##########
@@ -48,7 +48,7 @@ public <R, W> ServerCall.Listener<R>
interceptCall(ServerCall<R, W> call, Metada
@Override
public void onMessage(R message) {
GeneratedMessageV3 messageV3 = (GeneratedMessageV3) message;
- headers.put(InterceptorConstants.RPC_NAME,
messageV3.getDescriptorForType().getFullName());
+ headers.put(InterceptorConstants.RPC_NAME,
messageV3.getDescriptorForType().getName());
Review Comment:
I have followed your suggestion and used the new SIMPLE_RPC_NAME attribute
to record the action name needed later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]