Skip to content
Ameen Abozaid
Planned lessonMID-047-L05

Context propagation through Kafka

  • Lesson 5 of 9
  • Mid-level
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

keep a trace unbroken across the broker.

Planned topics

  • The producer injects trace context into message headers; the consumer extracts it and continues the trace.
  • Without this, the trace ends at the broker: a classic gap.
  • Consumers often create a span linked to the producer span; async processing may use links rather than parent-child.
  • Check both the producer and consumer instrumentation, including batch listeners.
Draft outline details

Demonstration

headers of an OrderPlaced record containing traceparent; the consumer span in the same trace.

Check your understanding

Where do trace headers travel in Kafka?

Show answer

In the record headers.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.