I'm working on doing an integration similar to this java solution (
https://github.com/jeqo/post-kafka-opentracing). I'm being tasked to use the jaeger tracer to trace kafka consumers. I'm being asked to implement this in Python. I'm having difficulty finding a solution to convert this portion of java code into Python.
final TracingKafkaConsumer<String, String> tracingKafkaConsumer =
new TracingKafkaConsumer<>(kafkaConsumer, tracer);
//Define Runnable Handler
final KafkaGreetingsHandler greetingsHandler =
new KafkaGreetingsHandler(tracingKafkaConsumer)
I'm able to create the tracer fine, its the connection between the tracer and the consumer in python where I'm not sure the syntax of. Could you assist? Or if not, could you possibly lead me to the right direction as to where I should be looking? The information as it is online is scarce.
Hope to hear back from you.