patron icon indicating copy to clipboard operation
patron copied to clipboard

Kafka async producer does not handle traces correctly

Open mantzas opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe

When sending a message via async producer the span is not properly handled.

Is this a bug? Please provide steps to reproduce, a failing test etc.

Yes, since we mark a span either succeeded or failed based when sending the message.

Describe the solution

Async producer provides channels for success and failures that need to be monitored. Beware the documentation. Check the Metadata field of the Producer message to pass the span produced.

mantzas avatar Mar 13 '22 16:03 mantzas