fanliang11 / surging

Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
MIT License
3.24k stars 923 forks source link

surgingSettings.json配置中的Consul 连接ConnectionString配置 #415

Open zhujinhu21 opened 3 years ago

zhujinhu21 commented 3 years ago

大佬,你好。我是把consul部署到k8s中,surgingSettings.json配置中的Consul 连接ConnectionString 的值 我使用consul服务的名称:port,在启动server的时候报错, image IPAddress.Parse(Ip)这个地方报错,使用consul 的service 的ClusterIP可以启动。我应该怎么设置,谢谢大佬

fanliang11 commented 3 years ago

社区版本不支持基于K8S 的serviceName 访问consul , 如果是企业用户请提交工单,后期会在企业版支持${service name}.${namespace}.svc.{domain}这种方式访问