[JOBS] AMQP redialer does not resume pipeline (sometimes?) #2012
Unanswered
algirdasci
asked this question in
Q&A
Replies: 2 comments 23 replies
-
Hey @algirdasci 👋 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sure! I'm using latest RR build:
|
Beta Was this translation helpful? Give feedback.
23 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using RR (via Spiral framework) mainly for RabbitMQ message processing. Problem is, that network connection is not very stable, as RR is running in multiple (100+) servers across the globe. I've configured high timeout values, so RR would eventually reconnect to RabbitMQ server and continue to process messages without intervention. Currently each server consumes at least 4 different queues. The pipelines for those queues are created dynamically:
Everything is working ok, but there are some cases, when redialer restores connection to RabbitMQ and leaves the pipeline paused, which means that message processing stops and RR needs to be restarted or job queue resumed, to continue working. Also, I cannot reproduce it locally - when breaking connection to RabbitMQ, RR always resumes pipeline. What is strange that, when this case occurs, last message of log claims, that redialer exited. Is this expected behaviour? Is there something I can do, to automatically resume pipeline, once RR restores connection? Is there a difference if pipelines are declared dynamically (as currently) or statically, in .rr.yaml file?
.rr.yaml:
Beta Was this translation helpful? Give feedback.
All reactions