### Description Fix https://github.com/grpc/grpc/issues/24470. Adding one example which demonstrate the following use cases: * Generate RPC ID on client side and propagate to server. * Context propagation from client to server. * Context propagation between different server interceptors and the server handler. ## Use: 1. Start server: `python3 -m async_greeter_server_with_interceptor` 2. Start client: `python3 -m async_greeter_client` ### Expected Logs: * On client side: ``` Sending request with rpc id: 73bb98beff10c2dd7b9f2252a1e2039e Greeter client received: Hello, you! ``` * On server side: ``` INFO:root:Starting server on [::]:50051 INFO:root:Interceptor1 called with rpc_id: default INFO:root:Interceptor2 called with rpc_id: Interceptor1-default INFO:root:Handle rpc with id Interceptor2-Interceptor1-73bb98beff10c2dd7b9f2252a1e2039e in server handler. ``` |
||
|---|---|---|
| .. | ||
| _static | ||
| conf.py | ||
| glossary.rst | ||
| grpc.rst | ||
| grpc_admin.rst | ||
| grpc_asyncio.rst | ||
| grpc_channelz.rst | ||
| grpc_csds.rst | ||
| grpc_health_checking.rst | ||
| grpc_reflection.rst | ||
| grpc_status.rst | ||
| grpc_testing.rst | ||
| index.rst | ||