Skip to content

No way to know if a consumer has been cancelled server-side #187

@abompard

Description

@abompard

Hi! I'm using aio-pika and I'd like my consumer to stop and restart if it has been cancelled server-side, for exemple if the queue has been deleted on the server.
If I understand correctly, this is not currently possible because aiormq will silently drop the consumer when that happens:

async def _on_cancel_frame(

Is there another way to do it? Could aiormq cancel the task/future that the consumer is linked to?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions