Skip to content

Spring Cloud AWS SQS error handler missing trace context #11234

@magnuspedro

Description

@magnuspedro

Tracer Version(s)

1.61.1

Java Version(s)

25

JVM Vendor

Eclipse Adoptium / Temurin

Bug Report

When using Spring Cloud AWS SQS with an error handler, trace context does not propagate from the listener to the error handler.

The current behavior has the TraceId present in the Listener logs and the classes called by it, until an exception is thrown and the trace is lost in the logs of the ErrorHandler.

Expected Behavior

The ErrorHandler logs should contain the same traceId as the listener.

Reproduction Code

The code to reproduce the issue is on the repo:

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugBug report and fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions