Skip to content

Support for AsgiFastStream with AppWrapper ? #77

@yann-combarnous

Description

@yann-combarnous

Currently, the following errors out, saying that AsgiFastStream is not supported by AppWrapper.

It would be nice to be able to monitor the broker is alive like regular FastSteam broker, for instance with:

app = FastStream(broker, logger=logger).as_asgi(
    asgi_routes=[
        ("/liveness", liveness_ping),
    ],
)
taskiq_broker = AppWrapper(app)

Or maybe by applying asgi to taskiq_broker

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