Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

[feat] 비동기 처리 서버에 Trace id 전파 #1099

Open
kimminkyeu opened this issue Feb 14, 2025 · 0 comments
Open

[feat] 비동기 처리 서버에 Trace id 전파 #1099

kimminkyeu opened this issue Feb 14, 2025 · 0 comments

Comments

@kimminkyeu
Copy link
Collaborator

kimminkyeu commented Feb 14, 2025

문제

현재 서버간 Trace 전파는 동기적 처리에만 적용된다.
따라서 메시지큐를 이용한 비동기 처리는 Trace Context가 다르다.
따라서 해당 이슈는 해당 Trace 전파를 구현하는 것이 목표이다.

변경

  1. Producer는 메시지에 TraceId를 담는다. (Inject Context)
  2. Consumer에서 메시지를 꺼내서, Trace를 Context에 등록한다. (Extract Context)

참고

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant