Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增对腾讯TRPC协议的支持 #54

Open
Barenboim opened this issue Mar 23, 2021 · 3 comments · Fixed by #53
Open

新增对腾讯TRPC协议的支持 #54

Barenboim opened this issue Mar 23, 2021 · 3 comments · Fixed by #53
Labels
enhancement New feature or request

Comments

@Barenboim
Copy link
Contributor

经腾讯公司授权,我们SRPC项目开源了腾讯TRPC协议的实现。这也是TRPC的第一个开源实现,腾讯公司的同学可以试用一下。server侧依然只支持连接池模式的访问,不支持pipeline以及乱序返回。

@Barenboim Barenboim linked a pull request Mar 23, 2021 that will close this issue
@Barenboim Barenboim added the enhancement New feature or request label Mar 23, 2021
@Barenboim Barenboim reopened this Mar 23, 2021
@superalsrk
Copy link

I build branch master but faied, the error message is

no matching function for call to ‘Printer::print_client_create_task(const std::basic_string<char>&, const string&, const std::vector<rpc_descriptor>&)’
    this->printer.print_client_create_task(type, desc.block_name, desc.rpcs);

I found the defination function in src/generator/printer.h is

void print_client_create_task(const std::string& type, const std::string& service,
                                                                  const std::vector<rpc_descriptor>& rpcs,
                                                                  const std::vector<std::string>& package)

@holmes1412
Copy link
Contributor

@superalsrk Hi~ Could you show me how you build branch master? And which platform did you use? Linux or Windows?
You can try to build by:
cd srpc && make

@Barenboim
Copy link
Contributor Author

Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants