pub(crate) async fn handle_cluster_proxy(
__arg0: Path<(String, String, usize, String)>,
config: Extension<Arc<ClusterProxyConfig>>,
req: Request<Body>,
) -> Result<Response, (StatusCode, String)>Expand description
Proxy handler for cluster replica HTTP endpoints.
Route: /api/cluster/:cluster_id/replica/:replica_id/process/:process/*path
This handler proxies HTTP requests to the internal HTTP endpoint of a specific
clusterd process. Each replica can have multiple processes (based on scale),
and each process has its own HTTP endpoint.