Skip to content

recreate bindings on failures #1469

Open
@julianhille

Description

@julianhille

Issue

Binding to an exchange should happen on every failure in the listening loop.
I've seen several times (not sure what exactly triggers it), that if rabbitmq goes down and comes up again, the bindings are lost.
If the "while True listen loop" then still runs it will never listen again to the queue again.
This is due to the fact that the rabbitmq exchange binding / channel creatoin happens before the while loop.

This ends up in something similar to a split brain.
The machine is able to send events to a room but never receives any.

Why not, on specific errors or every time, recreate the binding to the exchange?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions