Skip to content

apache/dubbo-go-samples

Folders and files

NameName
Last commit message
Last commit date
Mar 30, 2024
Oct 2, 2021
Mar 7, 2024
Feb 24, 2025
Jul 21, 2024
Mar 12, 2024
Feb 28, 2024
Feb 28, 2024
Mar 14, 2024
Jan 19, 2024
Jul 17, 2024
Aug 12, 2024
Aug 1, 2024
Mar 10, 2025
Apr 3, 2024
Mar 14, 2024
Aug 25, 2024
Jan 25, 2024
Apr 3, 2024
Aug 1, 2024
Apr 6, 2024
Jan 19, 2024
Apr 22, 2024
Jan 19, 2024
Mar 24, 2024
Oct 26, 2020
Sep 27, 2021
Nov 22, 2023
Jan 12, 2024
Oct 28, 2021
Oct 28, 2021
Oct 14, 2020
Mar 29, 2024
Apr 3, 2024
Oct 21, 2020
Mar 8, 2025
Mar 8, 2025
Oct 16, 2021
Jul 19, 2024
Oct 16, 2021

Dubbo Golang Examples

CI

中文 🇨🇳

What It Contains

  • apisix: apache/apisix and Dubbo-go example
  • async: the dubbogo callback[asynchronous] and call-one-way rpc 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
  • game: game service example
  • generic: A generic invocation example
  • helloworld: A 101 example
  • integrate_test: dubbogo github action integrate test use cases
  • logger: dubbogo logging
  • mesh: give an proxy service mesh example which shows how to deploy the dubbo-go services with envoy on kubernetes platform
  • metrics: show how to collect dubbogo prometheus metrics
  • multirpc: show how to use three protocols(triple, dubbo, jsonrpc) in one server and invoke them on the client-side
  • otel/trace: show how to use opentelemetry as dubbogo tracing tool
  • proxyless: give an proxyless service mesh example which shows how to deploy the dubbo-go services on kubernetes platform
  • registry: show how to use etcd/nacos/polaris/zookeeper as dubbogo registry
  • rpc: dubbo directory display dubbo protocol communication
    • rpc/dubbo: dubbo-go 3.0 rpc example between Java and Go
    • rpc/grpc: dubbo-go rpc example based on gRPC
    • rpc/jsonrpc: dubbo-go rpc example based on json-rpc
    • rpc/triple: dubbo-go rpc example based on hessian2/msgpack/pb(protobuf-v3)/pb2(protobuf-v2)/self-defined-serialization
  • seata-go: A seata-go example
  • skywalking: show how to integrate skywalking into dubbogo
  • tls: use TLS encryption in getty(tcp)/triple/gRPC communication mode
  • tracing: tracing example
  • error: error handling

How To Run

Pls refer How To Run for the instructions.

How to contribute

If you want to add more samples, pls. read on:

  1. Create new sub directory and give it an appropriate name for your new sample. Pls follow the layout of the existing sample if you are not sure how to organize your code.
  2. Make sure your sample work as expected before submit PR, and make sure GitHub CI passes after PR is submitted. Pls refer to the existing sample on how to test the sample.
  3. Pls provide README.md to explain your samples.