Comments (6)
Thanks for reporting the bug, what did you mean by "Cut the worker" and "Restart the worker"? Worker would be started automatically unless I'm missing something. If you shutdown your application during execution than the said message would come back to queue once visibility timeout has expired.
from rqueue.
from rqueue.
Hello Sonus,
I have already played a little with the visibility timeout, but it seems to not work on my side (well, with a single-worker scenario anyway).
In my case, I am using Kubernetes, which restarts my pods containing my workers on new versions (its the intended workflow) and, when rebooted, event after the visibility timeout is expired, the job is never re-added to the queue, which means that the jobs seems to be completely lost in my case
Regards
from rqueue.
That's strange, if you have dashboard access please check dashboard, it is available at host/rqueue, it does not require any authentication you're supposed to protect dashboard from evils.
If you don't have access to dashboard, please run these commands to see if entries exist in Redis.
LRANGE __rq::queue::{<queueName>} 0 -1
ZRANGE __rq::d-queue::{<queueName>} 0 -1
ZRANGE __rq::p-queue::{<queueName>} 0 -1
For example if your queue name is test-queue
then you need to run following set of commands
LRANGE __rq::queue::{test-queue} 0 -1
ZRANGE __rq::d-queue::{test-queue} 0 -1
ZRANGE __rq::p-queue::{test-queue} 0 -1
from rqueue.
This test verifies this feature
It only verifies for continuous polling not shutdown and boostrap
from rqueue.
Hi Alex
This does not seem to be a Rqueue bug, closing this. Please feel free to open this bug if you have more details or you can provide a reproducible code snippet.
from rqueue.
Related Issues (20)
- delete periodic job in @RqueueListener dosen't work HOT 3
- Support to spring boot 3 HOT 10
- Documentation should be improved HOT 2
- Retrieving job status & metadata programmatically HOT 2
- rqueue-spring-boot-starter 2.x not pulling in rqueue-spring HOT 3
- MessageScheduler.MessageMoverTask leaks redis operations HOT 17
- RqueueMessagePoller: No Threads are available sleeping 1000Ms HOT 3
- what is the sonatypeUsername and sonatypePassword? HOT 3
- Serialization support java time module HOT 1
- Deleted messages are kept in memory HOT 5
- Add static resource mapping handler when rqueue.web.url.prefix is set HOT 5
- Weighted priorisation with maximum concurrency HOT 2
- Question: Re-starting processing task when system restarts HOT 7
- Do you plan to use spring-cloud-sleuth to propagate the traceId? HOT 5
- Dashboard shows empty even thought Rqueue is working fine HOT 13
- Question: Integration scenario with multiple queues HOT 4
- rqueue workflow discussion HOT 4
- Support of jackson-databind 2.16.0 HOT 3
- Login/pass for queue dashboard HOT 4
- Lack of available threads HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rqueue.