Shared HTTP client reused by every outbound emitter. Cloning the Arc is cheap — the client itself owns a connection pool, DNS resolver, and TLS session cache that every caller benefits from.
(&self)
| 166 | /// Arc is cheap — the client itself owns a connection pool, DNS |
| 167 | /// resolver, and TLS session cache that every caller benefits from. |
| 168 | pub fn http_client(&self) -> &std::sync::Arc<reqwest::Client> { |
| 169 | &self.http_client |
| 170 | } |
| 171 | |
| 172 | /// Cluster-wide version view derived on demand from the live |
| 173 | /// `cluster_topology` snapshot. Replaces the old |
no outgoing calls