spring-cloud / spring-cloud/spring-cloud-stream

Instrumentation of the Kafka consumers to allow the configuration of MDC logging

Open
#2,577 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
646
Avg merge
2d 3h
Merged PRs (30d)
8

Description

This Stackoverflow question addresses how to configure SCS producers and consumers to automatically propagate the tracing information (traceId, spanId).

There's no info about the consumer side. At the moment there's no automatism doing anything with the traceparent header. Therefore, all consumer logs don't show the correlation information.

Version of the framework Boot 3.0.0 - Cloud 2022.0.0-RC3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Spring Cloud Stream Kafka consumer path that handles the traceparent header and related MDC or logging instrumentation; the issue provides no file or test names. Done means consumer logs automatically contain the propagated traceId and spanId, with coverage for the consumer side.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka, spring, spring-boot
Domain
backend, distributed-systems, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.