Skip to content

Missed heartbeats when publish in consumer #743

@infectos

Description

@infectos

I have a consumer inside of which I publish messages using publisher with different connection that consumer uses.
After some time after deploy (1-2 hours) I get Missed Heartbeat error in $publisher->publish().
I have big heartbeat value. Tried to change this value on both rabbitMQ and application. No changes.
I thought about reconnecting if I face that error, but in symfony I have no reconnect() method in ProducerInterface.
Is there any way to reconnect or fix this error?

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