Hi Ken,
Thanks for your feedback.
So I have to focus to OpenTelemetry.
I would like be sure that OpenTelemetry extension is able to manage correlator id (spanId)
In the Quarkus documentation, it seems working fine with RestEasy and Kafka Client.
The minimal requirement to adopt OpenTelemetry is the following:
A microservice exposes an API REST endpoint /sayhello.
On request:
- process the request With ReastEasy Mutiny, get the Jaeger traceID
- produce to a Kafka topic with the current traceId (should be possible manually with getKafkaMetadata(Context.current()))
- calling REST Client Reactive with current traceId propagation (is it working?)
So I would like to be sure that OpenTelemetry is a mature extension with Reactive (RestEasy+SmallRye Kafka).
Your feedback about adding manually getKafkaMetadata(Context.current()) is interesting,
What about ReastEasy Mutiny?
See below an example of code with endpoitn (RestEasy Mutiny and SmallRye Kafka)
Can you confirm that the traceId coming from the request /sayhello will be propagated to the kafka topic?
And when another microservice will consume this topic (with SmallRye Kafka), the traceId will be propagated?
Thanks,
David