alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
29.53k stars 12.68k forks source link

support grpc port with custom property in client construct phase #12064

Open hmleo opened 2 months ago

hmleo commented 2 months ago

when one program use different nacos client connect to different nacos server, only use grpc port offset property in System not satisfied our need.

want to support use custom property when we construct client. for example:

properties.put("grpc.port.offset", "1001")
NacosFactory.createConfigService(properties);
KomachiSion commented 2 months ago

Great suggest, and I think can do more configuration about grpc with GrpcClientConfig

hmleo commented 2 months ago

Great suggest, and I think can do more configuration about grpc with GrpcClientConfig

thanks for accept and reply.

respect !