Skip to content

Missing @Nullable in bridge for brave Baggage implementation #883

@rgarciapariente

Description

@rgarciapariente

Hello,

With version micrometer-tracing-bridge-brave:1.2.x you could do baggage.makeCurrent(null) to remove a baggage value but with micrometer-tracing-bridge-brave:1.3.x, all API are @NotNull by default.

Maybe, it is possible to add @Nullable to makeCurrent and set methods in class io.micrometer.tracing.brave.bridge.BraveBaggageInScope to avoid issues with nullabilities check?

Many thanks & regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA general bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions