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 924 forks source link

surging服务是怎么注册到consul的k/v? #314

Open DevinChen1 opened 5 years ago

fanliang11 commented 5 years ago

具体你可以看看代码,从入口ConfigureRoute方法看起,怎么RegisterRoutes的 https://github.com/dotnetcore/surging/blob/master/src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs