Skip to content

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

Description

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. Dane Walton (@danewalton-msft), do you think it would be possible to refactor this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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