dubbo-go-samples

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: Apache-2.0

README

Dubbo Golang Examples

CI

What It Contains

  • 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
  • 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
  • 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
  • skywalking: show how to integrate skywalking into dubbogo
  • tracing: tracing example

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.

Directories

Path Synopsis
apisix
helloworld command
config-api
configcenter
context
direct
go-client/cmd command
go-server/cmd command
error
filter
game
generic
helloworld
go-client/cmd command
go-server/cmd command
integrate_test
logger
custom/cmd command
default/cmd command
level/cmd command
rolling/cmd command
metrics
go-client/cmd command
go-server/cmd command
otel
registry
rpc
jsonrpc/go-server/pkg
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements.
seata module
skywalking
go-client/cmd command
go-server/cmd command
task
shop module
tracing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL