Skip to content

Change Otel::new() to not require async block #39

@patilsnr

Description

@patilsnr

Currently in MQ, Otel::new() needs to be run in an async block that's regulated by a std::sync::mspc::channel() (Sender/Receiver) to allow the creation of an otel component to finish before logging that the broker replica has started running.

It would make more sense for this to be totally synchronous as it is a new() function. @danewalton-msft, do you think it would be possible to refactor this?

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