Skip to content

Update the RabbitMQ Version to 3.12#1147

Closed
MehmedGIT wants to merge 3 commits intomasterfrom
network-rmq-update
Closed

Update the RabbitMQ Version to 3.12#1147
MehmedGIT wants to merge 3 commits intomasterfrom
network-rmq-update

Conversation

@MehmedGIT
Copy link
Copy Markdown
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
Copy Markdown
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.

1 participant