rskit-discovery — Service Discovery
Service discovery with registry and load balancing strategies.
Features
Discoverytrait — resolve service instances by nameRegistrytrait — register / deregister instancesServiceInstancewith id, address, port, health, tags, and metadata- Load balancers:
RoundRobin,Random,LeastConnections InMemoryDiscoveryfor testing- Optional Consul backend (feature-gated) using the shared hardened HTTP client
Usage
[]
= "0.2.0-alpha.2"
use ;
use HashMap;
async
Consul transport behavior
The optional Consul backend builds on rskit-httpclient. Consul requests use a bounded timeout that exceeds the blocking-query wait interval, do not follow redirects, and allow-list only the configured Consul host.