Skip to content

Commit bb1e691

Browse files
authored
Spring Boot 3.x support
* test fixes * udate version * update version * update version * added release script * do not schedule message if job is terminated * change condition to cater message deletion * log deleted message as info * Fixes * Message deletion happening from Message listener * Task rejected when threads are not available, sleep instead of poll * retry test * add gradle retry plugin * increase failure count to 30 * enhance logging for TestMessageProcessor * configure retry for all packages * configure retry for all packages * resource was not getting released due to sleep in the deactivate method * use log level info * depends on reactive_integration_test * use @testinstance(Lifecycle.PER_CLASS) * remove TestPer class * display date time at the bottom in default timezone * shutdown executor * 2.13.0 release * use higher size vm * use xlarge vm * use 02 ubuntu * use 01 and large only * Boot 3.x preparation * removed deprecated code flow * add a default constructor * change redis script * install redis-server directly * hibernate dependency issue * 404 and message object issue. * 404 * wip * upgrade gradle dependencies * missing reports * added some more test cases * give 6 gb ram * renamed root project name * copyright update * Syntax issue due to IDE save option * 3.0.0 release * disable module file * Fixed template syntax error
1 parent 7b49d2b commit bb1e691

481 files changed

Lines changed: 19829 additions & 15638 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ aliases:
4444
run:
4545
name: Install Dependencies
4646
command: |
47-
sudo add-apt-repository ppa:chris-lea/redis-server
48-
sudo apt-get update
49-
sudo apt-get -y install redis-server
47+
sudo apt -y install redis-server
5048
redis-cli --version
5149
5250
redis_cluster_setup: &redis_cluster_setup
@@ -117,14 +115,14 @@ aliases:
117115
executors:
118116
rqueue-executor:
119117
machine:
120-
image: ubuntu-2004:202010-01
118+
image: ubuntu-2204:2022.10.2
121119
resource_class: large
122120

123121
working_directory: ~/repo
124122

125123
environment:
126124
# Customize the JVM maximum heap limit
127-
JVM_OPTS: -Xmx3200m
125+
JVM_OPTS: -Xmx6400m
128126
TERM: dumb
129127
ORG_GRADLE_PROJECT_sonatypeUsername: xxx
130128
ORG_GRADLE_PROJECT_sonatypePassword: xxx
@@ -277,20 +275,3 @@ workflows:
277275
- report_code_coverage:
278276
requires:
279277
- reactive_integration_test
280-
main_v0:
281-
jobs:
282-
- build_v0
283-
- unit_test_v0:
284-
requires:
285-
- build_v0
286-
- producer_only_test_v0:
287-
requires:
288-
- unit_test_v0
289-
- integration_test_v0:
290-
requires:
291-
- producer_only_test_v0
292-
- redis_custer_test_v0:
293-
requires:
294-
- integration_test_v0
295-
296-

.editorconfig

Lines changed: 7 additions & 639 deletions
Large diffs are not rendered by default.

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,19 @@ Please answer these questions before submitting your issue. Thanks!
1515

1616
A clear and concise description of what the bug is.
1717

18-
1918
**What're application dependencies ?**
20-
- Rqueue Version:
21-
- Spring Boot Version:
22-
- Spring Messaging Version
23-
- Spring Data Redis Version
24-
- Any other spring library dependencies and their version
2519

20+
- Rqueue Version:
21+
- Spring Boot Version:
22+
- Spring Messaging Version
23+
- Spring Data Redis Version
24+
- Any other spring library dependencies and their version
2625

2726
**How to Reproduce (optional)?**
2827

2928
* Steps to reproduce the behaviour
3029
* A sample reproducible code if possible.
3130

32-
3331
**Additional Details (optional)**
3432

3533
Add any other context about the problem that would be helpful like OS, Redis, Docker etc

.github/ISSUE_TEMPLATE/i-m-using-rqueue.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ assignees: sonus21
1515

1616
# How are you using Rqueue? (optional)
1717

18-
1918
# Testimonials (optionals)
2019

2120
# Icon/Logo

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
11
# [Rqueue] New and Notable Changes
22

3+
### [3.0.1] - 17-Jan-2022
4+
5+
* Support for spring boot 3.0
6+
37
### [2.13.0] - 25-Dec-2022
8+
49
### Fixes
10+
511
* Important fix for parallel message deletion or delete the message from message listener
612
* No threads are available, improvement on message poller
713
* Use System Zone ID for UI bottom screen
814

915
### [2.12.0] - 14-Dec-2022
16+
1017
### Fixes
18+
1119
* Upgraded Pebble version for CVE
1220
* Use System Zone ID for UI display
1321

14-
1522
### [2.11.1] - 18-Nov-2022
23+
1624
### Fixes
25+
1726
Bug introduced by 2.11
1827

1928
### [2.11] - 07-Nov-2022
2029

2130
### Fixes
2231

23-
* Message mover unreliability, scheduled message were not getting consumed once redis connection error occurs
32+
* Message mover unreliability, scheduled message were not getting consumed once redis connection
33+
error occurs
2434
* Upgraded Jquery version
2535

26-
2736
### [2.10.2] - 16-Jul-2022
2837

2938
### Fixes
@@ -327,4 +336,6 @@ Fixes:
327336

328337
[2.13.0]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.13.0-RELEASE
329338

339+
[3.0.1]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/3.0.0-RELEASE
340+
330341
[122]: https://github.com/sonus21/rqueue/issues/122

README.md

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,30 @@ well, where all services code is in Spring.
5252

5353
### Requirements
5454

55-
* Spring 5+
56-
* Java 1.8+
57-
* Spring boot 2+
55+
* Spring 5+, 6+
56+
* Java 1.8+,17
57+
* Spring boot 2+,3+
5858
* Lettuce client for Redis cluster
5959
* Read master preference for Redis cluster
6060

6161
## Getting Started
6262

6363
### Dependency
6464

65-
Snapshot Version: [https://s01.oss.sonatype.org/content/repositories/snapshots/com/github/sonus21/](https://s01.oss.sonatype.org/content/repositories/snapshots/com/github/sonus21/)
66-
Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.sonus21)
65+
Snapshot
66+
Version: [https://s01.oss.sonatype.org/content/repositories/snapshots/com/github/sonus21/](https://s01.oss.sonatype.org/content/repositories/snapshots/com/github/sonus21/)
67+
<br/>Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.sonus21)
6768

68-
---
6969
#### Spring Boot
7070

71-
* Get the latest one
72-
from [Maven central](https://search.maven.org/search?q=g:com.github.sonus21%20AND%20a:rqueue-spring-boot-starter)
71+
**NOTE:**
72+
73+
* For spring boot 2.x use Rqueue 2.x
74+
* For spring boot 3.x use Rqueue 3.x
75+
76+
Get the latest one
77+
from [Maven central](https://search.maven.org/search?q=g:com.github.sonus21%20AND%20a:rqueue-spring-boot-starter)
78+
7379
* Add dependency
7480
* Gradle
7581
```groovy
@@ -88,10 +94,16 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
8894
8995
---
9096
91-
#### Spring framework
97+
#### Spring Framework
98+
99+
**NOTE**
100+
101+
* For spring framework 5.x use rqueue-spring 2.x
102+
* For spring framework 6.x use rqueue-spring 3.x
103+
104+
Get the latest one
105+
from [Maven central](https://search.maven.org/search?q=g:com.github.sonus21%20AND%20a:rqueue-spring)
92106
93-
* Get the latest one
94-
from [Maven central](https://search.maven.org/search?q=g:com.github.sonus21%20AND%20a:rqueue-spring)
95107
* Add Dependency
96108
* Gradle
97109
```groovy
@@ -105,9 +117,8 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
105117
<version>2.13.0-RELEASE</version>
106118
</dependency>
107119
```
108-
109-
2. Add annotation `EnableRqueue` on application config class
110-
3. Provide a RedisConnectionFactory bean
120+
* Add annotation `EnableRqueue` on application config class
121+
* Provide a RedisConnectionFactory bean
111122
112123
###### Configuration
113124
@@ -124,6 +135,7 @@ public class Application {
124135
```
125136

126137
---
138+
127139
### Message publishing/Task submission
128140

129141
All messages need to be sent using `RqueueMessageEnqueuer` bean's `enqueueXXX`, `enqueueInXXX`
@@ -231,21 +243,19 @@ public class MessageListener {
231243
```
232244

233245
---
246+
234247
## Dashboard
235248

236249
Link: [http://localhost:8080/rqueue](http://localhost:8080/rqueue)
237250

238-
239251
[![Dashboard](https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/stats-graph.png)](https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/stats-graph.png)
240252

241-
242253
#### Queue Statistics
243254

244255
Micrometer based dashboard for queue
245256

246257
[![Grafana Dashboard](https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/grafana-dashboard.png)](https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/grafana-dashboard.png)
247258

248-
249259
#### Message Waiting For Execution
250260

251261
[![Explore Queue](https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/queue-explore.png)](https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/queue-explore.png)

0 commit comments

Comments
 (0)