Skip to content

Swap pika for aio-pika #56

Description

@ric-evans

Currently while the rabbitmq backend technically has async functions, using them does nothing as the rabbitmq parts are synchronous. Switch to aio-pika to get the full async experience:

https://aio-pika.readthedocs.io/en/latest/quick-start.html

Note that this would help with #58, as you could then run multiple async sends in parallel.

Update (June 2026)

IIRC, last I checked, aio-pika is not async all the way down. It is an async wrapper on sync networking calls. The package is also not officially recognized by rabbitmq, so there are risks involved. All of this needs to be reviewed for accuracy -- I see there have been new major version updates since I last investigated this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrabbitmqAffects the RabbitMQ / pika broker api

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions