Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@MehmedGIT
Copy link
Contributor

Update the RabbitMQ version to 3.12 to allow usage of poison message handling. Quorum queues allow to set the delivery-limit policy for queues. I.e., how many times a message could fail before being dropped.

Currently, the processing worker drops the messages after they fail once (unlike what we would like to have - 3 times). The older versions of RabbitMQ supported the redelivered feature for checking whether a message was redelivered or not, however, there was no way to know how many times it was redelivered.

TODO: I am still experimenting and will extend the processing worker implementation to achieve a redelivery count of 3 or ideally any number configured with an env variable, say, 'OCRD_NETWORK_WORKER_QUEUE_MESSAGE_RETRIES'.

@MehmedGIT
Copy link
Contributor Author

The changes in this PR are already included in #1191.

@MehmedGIT MehmedGIT closed this Mar 26, 2024
@MehmedGIT MehmedGIT deleted the network-rmq-update branch March 26, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants