检查连接缓存
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
1. ```
2. {
3. "msg":"success",
4. "code":0,
5. "data": "open brpc connection to {host_to_check}:{remot_brpc_port} succcess.",
6. "count":0
7. }
8. ```
Examples
1. ```
2. curl http://127.0.0.1:8040/api/check_rpc_channel/127.0.0.1/8060/1024000
3. ```
