tree: 6e75a378c01d5881bc673122457a002a91cacf11 [path history] [tgz]
  1. BUILD
  2. csm_greeter_client.cc
  3. csm_greeter_server.cc
  4. Dockerfile.client
  5. Dockerfile.server
  6. README.md
examples/cpp/csm/README.md

gRPC C++ CSM Hello World Example

This CSM example builds on the Hello World Example and changes the gRPC client and server to accept configuration from an xDS control plane and test SSA and CSM observability

Configuration

The client takes the following command-line arguments -

  • target - By default, the client tries to connect to the xDS “xds:///helloworld:50051” and gRPC would use xDS to resolve this target and connect to the server backend. This can be overriden to change the target.

The server takes the following command-line arguments -

  • port - Port on which the Hello World service is run. Defaults to 50051.