Listens on tcp port 7151 and will echo grpc message sent by client.
To start the Docker Compose stack defined in the compose.yaml file, use:
docker compose up -dEcho {"message":"Hello World"} message via unary rpc using grpcurl command.
grpcurl -plaintext -proto ./etc/protos/echo.proto -d '{"message":"Hello World"}' \
localhost:7151 example.EchoService.EchoUnaryoutput:
{
"message": "Hello World"
}Echo messages via bidirectional streaming rpc.
grpcurl -plaintext -proto ./etc/protos/echo.proto -d @ \
localhost:7151 example.EchoService.EchoBidiStreamPaste below message.
{
"message": "Hello World"
}ghz --config bench.json \
--proto ./etc/protos/echo.proto \
--call example.EchoService/EchoBidiStream \
localhost:7151To remove any resources created by the Docker Compose stack, use:
docker compose down