grpc/examples/cpp/csm
Yash Tibrewal a1335d1b16 [examples] Fix csm greeter client (#35355)
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35355 from yashykt:CsmExampleFix e394990389
PiperOrigin-RevId: 592413377
2023-12-19 20:06:07 -08:00
..
BUILD [CSM] Add CSM Example client and server images (#34447) 2023-09-24 12:07:17 -07:00
Dockerfile.client [CSM] Add CSM Example client and server images (#34447) 2023-09-24 12:07:17 -07:00
Dockerfile.server [CSM] Add CSM Example client and server images (#34447) 2023-09-24 12:07:17 -07:00
README.md [CSM] Add CSM Example client and server images (#34447) 2023-09-24 12:07:17 -07:00
csm_greeter_client.cc [examples] Fix csm greeter client (#35355) 2023-12-19 20:06:07 -08:00
csm_greeter_server.cc [CSM] Add CSM Example client and server images (#34447) 2023-09-24 12:07:17 -07:00

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.