Skip to content

Kafka message consumption not properly wrapped with context #819

@erkieh

Description

@erkieh

Expected Behavior

Kafka Message Listener execution has open-telemetry context

Actual Behaviour

Only the fact the message was received is traced.

Image

Steps To Reproduce

Run DemoTest in the below example application. The assertion in the test fails.

Environment Information

No response

Example Application

https://github.com/erkieh/micronaut-kafka-otel

Version

4.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions