apache / apache/pulsar

need a way to trace the message flow in pulsar

Open
#14,067 5 comments 0 reactions 0 assignees View on GitHub
lifecycle/stale Stale type/enhancement
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.**
A clear and concise description of what the enhancement is.

now, if users use the tracing tool to send some messages or receive messages, although we can write an interceptor to record the traced and spanid to MDC of slf4j, there are so many completefuture .so the info will not keep in the thread.

such as in class A, there is a logger that prints the error, but we can not define what the error is for what message

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**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

Open the contributing guide

Research direction

Start with the issue's description of tracing tools, interceptors, SLF4J MDC, CompletableFuture chains, and the logger in class A. Clarify the desired message-to-trace propagation behavior and affected send and receive paths; the issue does not define a concrete solution or acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.