Closed ABNER-1 closed 4 years ago
@ABNER-1 Could you please provide an example, I'm not sure where the problem is. Do you mean finished is the trace finished or span finished
?
Sorry, I have noticed in this code ending, span finshed.
@Override
public Message<?> beforeSend(Producer producer, Message message) {
Tracer tracer = GlobalTracer.get();
TracingPulsarUtils.buildAndInjectSpan(message, producer, tracer).finish();
return message;
}
Thank you for replying.
Thans for this good job.
When studying the code about this project, I have been confused by the producer interceptor behavior which injects unfinished span to tracer. Meanwhile, I have noticed the jaeger ui result that the span indeed finished. How it worked?
Will this be finished by other function in the feature milestones? Will this opetation cause memory leak?
Thank you very much.