From 5fc13e9654eb6958343d2153dd74681a8cf68851 Mon Sep 17 00:00:00 2001 From: "nov.lzf" Date: Thu, 18 Mar 2021 13:22:10 +0800 Subject: [PATCH] add client ip (#5134) * add client ip * checkstyle fix * wait to register connection setup --- api/pom.xml | 2 +- .../alibaba/nacos/api/grpc/auto/Metadata.java | 127 ++++++++++++++++++ .../api/grpc/auto/MetadataOrBuilder.java | 10 ++ .../nacos/api/grpc/auto/NacosGrpcService.java | 24 ++-- .../nacos/api/remote/request/RequestMeta.java | 22 +-- api/src/main/proto/nacos_grpc_service.proto | 27 ++-- .../nacos/common/remote/client/RpcClient.java | 5 +- .../common/remote/client/grpc/GrpcClient.java | 4 +- .../common/remote/client/grpc/GrpcUtils.java | 4 +- .../nacos/core/remote/ConnectionMeta.java | 34 ++--- .../core/remote/grpc/BaseGrpcServer.java | 32 ++--- .../grpc/GrpcBiStreamRequestAcceptor.java | 19 +-- .../core/remote/grpc/GrpcRequestAcceptor.java | 17 +-- 13 files changed, 211 insertions(+), 116 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index 673c2c79c..63106ccc0 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -32,7 +32,7 @@ -