Feature Proposal: kitexcall command for sending json generic requests
felix021 opened this issue · 5 comments
Please help implement a command line tool for sending json generic requests to Kitex Servers.
Suggests features:
- Support Thrift/Protobuf Payload
- Support TTHeader/Framed (also TTHeader/Framed) Transport
- Support specifying frequently used client options (
client.WithHostPorts
,client.WithRPCTimeout
, etc.) - Support metainfo (headers), both transient keys and persistent keys, and listing backward keys in the response to output.
- Accept request data from command line arg or a local file
- Support both human readable (by default) or Parsable output response (call status, rpc response, etc., json format preferred), making it better for script-based tools)
If you are interested in implementing this feature, please kindly prepare a detailed tech plan and reply with your lark id for us.
You can also take a look at grpcurl, which is of similar purpose.
Note: currently Kitex does not have builtin support of reflection server, so users have to manually specify the IDL. But we've plan for this and once it's implemented, this feature can then be integrated into kitexcall.
Can you assign it to me please? I want to try it. The technical plan will be sent to you later.
Can you assign it to me please? I want to try it. The technical plan will be sent to you later.
Please reply with your lark account
Can you assign it to me please? I want to try it. The technical plan will be sent to you later.
Please reply with your lark account
OK, thanks. I am in the Cloudwego Lark Group, I have sent you a friend request.
Or my account:
https://www.feishu.cn/invitation/page/add_contact/?token=5b7gab67-dddd-42a4-93d5-cd2441b59833&unique_id=lSWTsPYII_yaxHM80y-SNw==
Implemented in kitex-contrib/kitexcall#1