grpc-java를 사용하고 있으며 서비스 A, B 및 C가 3 개 있습니다. 서비스 A를 호출하고 서비스 A와 B 및 C를 호출합니다. B와 C에 대한 호출에서 Hystrix를 사용하고 있습니다. C가 차례 차례 다른 스레드를 생성합니다. 다른 서비스를 호출합니다.gRPC의 컨텍스트에서 다른 스레드/threadPool로 traceId를 전달하는 방법은 무엇입니까?
traceId를 전달하는 ClientInterceptors 및 ServerInterceptors가 있습니다. 컨텍스트에서 traceIds를 볼 수 있으며 gRPC 작업자 스레드 일 때만 기록하지만 호출이 다른 스레드 (RxIoScheduler 스레드 또는 Hystrix 스레드)로 이동하면 잃게됩니다. traceId를 다른 스레드의 요청과 다른 실행자 서비스와 스레드 풀 사이의 요청에 전달하려면 어떻게해야합니까?