You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's because I'm accepting >5 tasks from this msg-delivery-retry queue at the same time, so rqueue is basically throttling what's coming through that queue. Is that correct?
This is actually desirable behavior for me, just want to make sure I'm understanding what happened, and that rqueue isn't just dropping messages over the thread limit, or something.
EDIT: I also have simpleRqueueListenerContainerFactory.setMaxNumWorkers(3) in my config; what else uses this ThreadPoolExecutor?
Also (unrelated), I realized I probably want something more similar to #43 rather than hoping the threadpool throttles me, where I want to listen to things in this queue sequentially per partition, but concurrently across different partitions; I'll try out your groupId suggestion there. (It's unfortunate that only a static set of partitions is supported.)
The text was updated successfully, but these errors were encountered:
These tasks would be retried later, generally this error should not come. You should increase MaxNumWorkers, also can you try the latest release 2.10.1-RELEASE?
I don't see the warnings anymore for now, though it also may be due to other changes I made. :)
I increased MaxNumWorkers, partitioned the queue as per your recommendation in #43, and set it to 1 concurrent listener per partition. I guess I'll have to wait for our application to get more load across different partitions before I see if this comes up again.
I'm seeing a bunch of warnings like this:
I think it's because I'm accepting >5 tasks from this
msg-delivery-retry
queue at the same time, sorqueue
is basically throttling what's coming through that queue. Is that correct?This is actually desirable behavior for me, just want to make sure I'm understanding what happened, and that
rqueue
isn't just dropping messages over the thread limit, or something.EDIT: I also have
simpleRqueueListenerContainerFactory.setMaxNumWorkers(3)
in my config; what else uses thisThreadPoolExecutor
?Also (unrelated), I realized I probably want something more similar to #43 rather than hoping the threadpool throttles me, where I want to listen to things in this queue sequentially per partition, but concurrently across different partitions; I'll try out your
groupId
suggestion there. (It's unfortunate that only a static set of partitions is supported.)The text was updated successfully, but these errors were encountered: