jam01 commented on pull request #4044: URL: https://github.com/apache/camel/pull/4044#issuecomment-664045673
Gotcha. Thanks for the explanation. With my last commit we'd support 1 -> 2 -> 3 :) So it'd support whichever approach you decide to take as far as activating the exchage property before executing the producer template or not. What you gain when activating it is that you can add the metadata that won't be available to camel since there's no Kakfa endpoint/kafka decorator involved. Also an extra kafka-connector Span which may or may not be critical if the connector doesn't take long before fwding to camel. What you lose... yeah if you already depend on opentracing to extract the context I can't think of anything you'd lose from activating a Span. Unless you wanted to hide kafka-connector from traces. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org