This is an automated email from the ASF dual-hosted git repository. alexstocks pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
commit 7cbd0b5b958e1d6b16fa8930542343397ceb1d2e Author: AlexStocks <[email protected]> AuthorDate: Mon Jul 18 19:19:29 2022 +0800 update all latest examples in readme --- README.md | 20 ++++++++++++-------- README_zh.md | 16 ++++++++++++++-- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d7979f31..c8f9648d 100644 --- a/README.md +++ b/README.md @@ -4,21 +4,25 @@ ## What It Contains -* async: An async example. -* attachment: An attachment example, to show how to use attachment to pass user data from the client to the server. +* apisix: apache/apisix and Dubbo-go example +* config-api: show how to use dubbogo by APIs without configuration * configcenter: uses of different config centers, including zookeeper and nacos at present. +* context: how to transfer request context between multiple producers/consumers * direct: A direct invocation example. +* error/triple: triple sample with hessian2/protobuf * filter: Some examples of different filter, including custom_filter and tpslimit -* rpc: dubbo directory display dubbo protocol communication +* game: game service example * generic: A generic invocation example * helloworld: A 101 example -* router: router examples, including condition and tag +* integrate_test: dubbogo github action integrate test use cases +* logger: dubbogo logging +* metrics: show how to collect dubbogo prometheus metrics +* otel/trace: show how to use opentelemetry as dubbogo tracing tool +* registry: show how to use etcd/nacos/polaris/zookeeper as dubbogo registry +* rpc: dubbo directory display dubbo protocol communication * seata: A seata example -* shop: Shop sample -* tengine: Taobao Tengine and Dubbo-go example -* tls: Use TLS in Dubbo-go application +* skywalking: show how to integrate skywalking into dubbogo * tracing: tracing example -* game: game service example ## How To Run diff --git a/README_zh.md b/README_zh.md index ef705657..2bb99c45 100644 --- a/README_zh.md +++ b/README_zh.md @@ -4,16 +4,27 @@ ## 本工程包含的示例 +* apisix: apache/apisix 与 Dubbo-go 整合示例 * config-api: 无需配置文件,使用 API 的方式启动服务、构造组件和使用。 * configcenter: 使用不同的配置中心,目前支持:zookeeper、和 nacos * context: 如何通过 go context 把用户数据 attachment 从调用方传递给服务方 * direct: 直连模式,无需注册中心,直连服务提供者 -* rpc: 使用 Dubbogo 框架启动 rpc 服务,发起调用 +* error/triple: triple 示例,演示如何在 triple 协议中集成 hessian2/protobuf +* filter: dubbogo filter 示例,包含了 custom_filter 与 tpslimit +* game: dubbogo 游戏示例 * generic: 泛化调用 * helloworld: 入门例子 -* registry: 展示与不同注册中心的对接,包含了 nacos、etcd 和 zookeeper。 +* integrate_test: dubbogo github action 集成测试用例 +* logger: dubbogo logging +* metrics: 使用 prometheus 收集 dubbogo 的 metrics +* otel/trace: 使用 opentelemetry 进行 tracing +* registry: 把 etcd/nacos/polaris/zookeeper 当做 dubbogo 注册中心示例 +* rpc: 使用 Dubbogo 框架启动 rpc 服务,发起调用 +* seata: 在 dubbogo 中如何基于 seata 实现分布式事务 +* skywalking: 整合 skywalking 与 dubbogo 的示例 * tracing: 链路追踪例子,支持 + ## 如何运行 请参阅 [HOWTO](HOWTO_zh.md) @@ -25,3 +36,4 @@ 1. 为您的示例起合适的名字并创建子目录。如果您不太确定如何做,请参考现有示例摆放目录结构 2. 提交 PR 之前请确保在本地运行通过,提交 PR 之后请确保 GitHub 上的集成测试通过。请参考现有示例增加对应的测试 3. 请提供示例相关的 README.md 的中英文版本 +* registry: 展示与不同注册中心的对接,包含了 nacos、etcd 和 zookeeper。
