apache / apache/dubbo-go

[提案] Future Plan and Thoughts

Open
#3,095 0 comments 0 reactions 0 assignees View on GitHub
proposal
Dominant language
Go
Stars
5k
Forks
1k
Avg merge
2d 8h
Merged PRs (30d)
31

Description

| main task | sub-task | description | github issue |
| --- | --- | --- | --- |
| service discovery | dns service discovery | 支持基于 DNS / SRV 的服务发现,包括实例解析、TTL、缓存和健康状态处理。参考:[阿里 DNS 服务发现实践](https://developer.aliyun.com/article/598792)、[Nacos DNS Service Discovery](https://nacos.io/zh-cn/blog/dns-sd.html) | |
| observability | openapi | 支持从 Proto / Triple 服务生成 OpenAPI 文档 | done in [#3280](https://github.com/apache/dubbo-go/pull/3280) |
| management | kubernetes liveness/readiness | 提供 Kubernetes 存活、就绪和优雅下线状态检查 | done in [#3281](https://github.com/apache/dubbo-go/pull/3281) [#3213](https://github.com/apache/dubbo-go/pull/3213) |
| | qos | 提供运行时服务查询、上下线、状态诊断和动态管理能力 | |
| async & event | event streaming | 支持事件订阅、持续推送、重连和背压。参考:[字节流式数仓实践](https://developer.volcengine.com/articles/7317094566505480218)、[Dubbo Streaming](https://dubbo.apache.org/en/overview/manual/rust-sdk/streaming/) | |
| | async messaging | 评估异步消息调用及 Kafka、RocketMQ、Pulsar 等消息系统适配 | |
| distributed | distributed locking | 基于 Zookeeper / Etcd 等实现分布式锁、租约、续租和异常释放 | |
| | leader election | 支持 Leader 选举、Leader 变更通知和故障重新选举。参考:[ZooKeeper Leader 选举](https://developer.aliyun.com/article/1114898)、[ZooKeeper 选举源码分析](https://developer.aliyun.com/article/1413768) | |
| traffic management | adaptive load balance | 基于 Provider 的 CPU、RT、inflight 等指标动态选择实例。参考:[Dubbo 自适应负载均衡](https://cn.dubbo.apache.org/zh-cn/overview/reference/proposals/heuristic-flow-control/)、[Kitex 负载均衡](https://www.cloudwego.io/zh/docs/kitex/tutorials/service-governance/loadbalance/) | |
| traffic | adaptive rate limit | 根据 Provider 实际负载动态调整最大并发数并进行过载保护。参考:[Dubbo 自适应限流](https://cn.dubbo.apache.org/zh-cn/overview/manual/java-sdk/tasks/rate-limit/adaptive-concurrency-control/)、[Uber Cinnamon Auto-Tuner](https://www.uber.com/us/en/blog/cinnamon-auto-tuner-adaptive-concurrency-in-the-wild/)、[Netflix concurrency-limits](https://github.com/Netflix/concurrency-limits) | [#3336](https://github.com/apache/dubbo-go/issues/3336) |
| | load shedding | 根据请求优先级、服务和方法维度进行过载拒绝和降级。参考:[字节 KubeGateway](https://developer.volcengine.com/articles/7317093789460332570)、[Netflix Prioritized Load Shedding](https://netflixtechblog.com/enhancing-netflix-reliability-with-service-level-prioritized-load-shedding-e735e6ce8f7d) | |
| refactoring | metadata | 重构本地 Metadata、MetadataService、MetadataReport 和 Service Discovery 的边界。参考:[Nacos](https://github.com/alibaba/nacos)、[Dubbo Metadata](https://dubbo.apache.org/zh-cn/overview/what-is-dubbo/metadata/) | working in [#3188](https://github.com/apache/dubbo-go/issues/3188) |
| | registry | 统一 Registry 与 ServiceDiscovery 模型,完善事件、缓存和多注册中心支持。参考:[Nacos](https://nacos.io/zh-cn/)、[Dubbo Registry](https://dubbo.apache.org/zh-cn/overview/what/) | |
| tools | dubboctl | 整合项目创建、代码生成、服务调用、注册中心和 Metadata 查询能力。参考:[dubbogo-cli](https://github.com/apache/dubbo-go/tree/main/tools/dubbogo-cli) | |
| | console | 为 Dubbo Admin 提供服务、实例、Metadata、路由和运行状态管理能力。参考:[Dubbo Admin](https://github.com/apache/dubbo-admin) | |

Contributor guide

Open the contributing guide

Research direction

This issue is a roadmap table rather than a scoped task, and it names no files, tests, or entry points. Start by selecting one unfinished row and reviewing its linked references and related issues, where available. A concrete scope, acceptance criteria, and affected code or tests must be defined before completion can be assessed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kafka, kubernetes, openapi
Domain
backend-api-design, devops, distributed-systems, observability-sre, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.