apache / apache/dubbo

使用 protobuf 和 triple 协议的接口如何泛化调用?

Open
#10,501 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

背景: 现在有个 dubbo-proxy 服务,通过 Netty + 泛化调用供接口测试,性能压测等。

但是到 PB + Tri 组合之后,泛化调用不生效了,根据 sample 里的示例得将 dubbo-complier 生成的文件引入后,才能用泛化调用。那就太不泛化了。

有没有什么办法像之前那样泛化调用呢,或者有没有其他工具像调用 HTTP 接口一样,动态地调用 Triple 协议呢?

Contributor guide

Open the contributing guide

Research direction

Start with the dubbo-proxy service and its Netty-based generic invocation path, then compare it with the sample that imports files generated by dubbo-complier. Investigate how PB + Tri requests are described and whether dynamic Triple invocation can work without generated files. Done means documenting or implementing a viable generic approach, or identifying a supported alternative tool and its limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.