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
{{ message }}
Repository navigation
Dashboard lists only the serving app's queues since 4.0.0-RC4 when several apps share one Redis #309
Since 4.0.0-RC4, the web dashboard only lists the queues that the application serving the dashboard listens to. Queues consumed by other applications connected to the same Redis no longer appear on the queues page, in the explore view or in the charts.
Up to 4.0.0-RC3, every application added its queue names to a shared Redis set on startup (rqueueStringDao.appendToSet(rqueueConfig.getQueuesKey(), ...)), and RqueueSystemManagerServiceImpl.getQueues() read that set. A dashboard hosted by one application therefore showed the queues of all of them.
#292 (NATS backend) replaced this with the in-memory registry:
publicList<String> getQueues() {
// EndpointRegistry is the in-memory source of truth for active queue names; identical// semantics to the previous Redis "set of queue names" key on a single instance, ...returnnewArrayList<>(EndpointRegistry.getActiveQueues());
}
The semantics are identical only when a single application uses Redis. With several applications, the dashboard host is the only one whose queues are visible. The change is not mentioned in the RC4 release notes, so it looks unintended.
What're application dependencies ?
Rqueue Version: 4.0.1 (same code in 4.0.0-RC11; 4.0.0-RC3 lists all queues)
Spring Boot Version: 4.1.2
Spring Messaging Version: 7.0.10
Spring Data Redis Version: 4.1.2
How to Reproduce (optional)?
Start application A with rqueue.web.enable=true and a listener on queue-a.
Start application B against the same Redis with rqueue.web.enable=false and a listener on queue-b.
Open A's dashboard: only queue-a is listed. On 4.0.0-RC3, both queues are listed.
Additional Details (optional)
Possible fixes:
On the Redis backend, restore the shared queue-name set (write it in createOrUpdateConfigs, read it in getQueues), and keep EndpointRegistry for NATS.
Or list the queues from the persisted QueueConfig entries, which rqueueSystemConfigDao still writes for every application, merged with EndpointRegistry for the local ones.
Running the dashboard in a dedicated application is a common setup (one app hosts the UI, the others only process messages), and this change breaks it.
Activity