facile-it / rabbitmq-consumer Goto Github PK
View Code? Open in Web Editor NEWA configurable RabbitMQ consumer made in Rust, useful for a stable and reliable CLI commands processor.
License: MIT License
A configurable RabbitMQ consumer made in Rust, useful for a stable and reliable CLI commands processor.
License: MIT License
In order to avoid database overloads with many queries per received message with the DB configuration enabled, develop a timed and configurable cache.
Hi,
In my rabbitmq configuration, I am using exchanges with routing keys.
We noticed that when we delete and recreate a queue, the exchange configuration of the queue is lost.
We were wondering if it is possible to include something in the toml configuration file to specify to which exchange the queue is binded and eventually a routing key.
Thanks,
Hi,
i found a strange behavior if i execute a symfony command that have a long execution (20 minutes).
Consumer receive a timeout in the channel and after some minutes command finish execution correctly and consumer told me that he removed it from the queue, but is not true because the next job he execute is the same job before.
So this long running execution trigger timeout again and again inside a loop where consumer is never able to remove this job from the queue.
Here are the logs of the issue:
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:01:57 [INFO] - [update] Executing command "bin/console -vvv app:cron-test --body eyJjcm9uT" on consumer #0
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:17:57 [ERROR] - Channel closed on channel 47 by 0:0 => AMQPError { kind: Soft(PRECONDITIONFAILED), message: ShortString("PRECONDITION_FAILED - consumer ack timed out on channel 47") } => PRECONDITION_FAILED - consumer ack timed out on channel 47
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:24:47 [INFO] - [update] Command "bin/console -vvv app:cron-test --body eyJjcm9uT" succeeded on consumer #0, message removed.
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:24:47 [INFO] - Error (MessageError(LapinError(InvalidChannelState(Closed)))), waiting 1 seconds...
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:24:48 [INFO] - Managing queues...
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:24:48 [INFO] - [update] Created channel with id: 48
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:24:48 [INFO] - [update] Queue created
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:24:48 [INFO] - [update] Consumer #0 declared "updatedbytmdb_consumer_0"
cron_test.1.5qusd42axrn4@node3 | 2021-05-26T07:24:48 [INFO] - [update] Executing command "bin/console -vvv app:cron-test --body eyJjcm9uT" on consumer #0
Hi,
I would like to ask if it is possible to configure the prefetch count of a queue. The default seems to be 1.
I couldn't find anything in the configuration file, but maybe you can help me.
Thanks!
All configuration are mandatory at moment, make them optional if they are not needed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.