Can we provide support for mdc
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
**Is your enhancement request related to a problem? Please describe.**
If we pass a tracing id in message header, is it possible to retrieve this info and put it into mdc, then all of log will see this id to solve some problems
**Describe the solution you'd like**
[A clear and concise description of what you want to happen.](https://medium.com/asyncparadigm/logging-in-a-multithreaded-environment-and-with-completablefuture-construct-using-mdc-1c34c691cef0)
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by reviewing the issue and its seven comments, then trace how message headers and logging context are handled in Pulsar; done would require an agreed design and verified propagation of the tracing ID into MDC and logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems, observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100