Skip to content

How does amqpstorm handle Rabbitmq memory alarms #118

Open
@mehdigmira

Description

@mehdigmira

Hello,

Thanks for your work on this library 👍
I have a question regarding Rabbitmq memory watermarks and the way amqpstorm handles them.

Imagine the following:

  1. I have a process that keeps publishing messages (basically an infinite loop for this example)
  2. At a certain point memory alarm is triggered on RMQ, and further publishes are blocked (Writes on a blocked connection will time out or fail with an I/O write exception.), also the publisher get notified that a connexion is blocked (Compatible AMQP 0-9-1 clients will be [notified] when they are blocked and unblocked.).
  3. Then Rabbitmq flushes out some of the data to disk, and unblocks publisher

What happens on AMQPstorm side ? Does it raise ? do we lose some messages ? does the block/unblock logic trigger some logic in AMQPStorm ?

Thanks for the help

Links: RMQ doc

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