SelectDB Enterprise
管控指南
Open API
BE HTTP
检查连接缓存

检查连接缓存

Request

GET /api/check_rpc_channel/{host_to_check}/{remot_brpc_port}/{payload_size}

Description

该功能用于检查 brpc 的连接缓存。

Path parameters

  • host_to_check

    需要查检的 IP。

  • remot_brpc_port

    需要查检的端口。

  • payload_size

    负载大小,单位 B,取值范围 1~1024000。

Request body

Response

```
{
    "msg":"success",
    "code":0,
    "data": "open brpc connection to {host_to_check}:{remot_brpc_port} success.",
    "count":0
}
```

Examples

```
curl http://127.0.0.1:8040/api/check_rpc_channel/127.0.0.1/8060/1024000
```
© 2025 北京飞轮数据科技有限公司 京ICP备2022004029号 | Apache、Apache Doris 以及相关开源项目名称均为 Apache 基金会商标