Commit a00faa2
committed
Gate RqueueJobMetricsAggregatorService on Redis backend
The aggregator depends on RqueueLockManager (Redis-only) and
RqueueQStatsDao (Redis-only); both were gated in the previous commit
but the aggregator @component itself wasn't, so its constructor
injection failed at startup with NoSuchBeanDefinitionException for
RqueueLockManager when rqueue.backend=nats. Adding
@conditional(RedisBackendCondition.class) on the aggregator keeps it
out of the context on the NATS path; metrics aggregation is a Redis
feature for v1 and the dashboard already hides the related panels.
Assisted-By: Claude Code1 parent 22eb046 commit a00faa2
1 file changed
Lines changed: 3 additions & 0 deletions
File tree
- rqueue-core/src/main/java/com/github/sonus21/rqueue/web/service
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments