Skip to content

Commit 36bb806

Browse files
authored
V-2.0.1
1. Added tests for different types of redis setup 2. Fixed issue in queue deletion 3. Fixed bug of argument mismatch 4. New apis to enqueue messages using enqueueAt 5. Refined apis for enqueueIn using Duration, TimeUnit
1 parent ea243d6 commit 36bb806

97 files changed

Lines changed: 2184 additions & 943 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.

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ cache:
1515
directories:
1616
- $HOME/.gradle
1717

18+
before_script:
19+
- mkdir 9000 9001 9002 9003 9004 9005
20+
- printf "port 9000 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9000/redis.conf
21+
- printf "port 9001 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9001/redis.conf
22+
- printf "port 9002 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9002/redis.conf
23+
- printf "port 9003 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9003/redis.conf
24+
- printf "port 9004 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9004/redis.conf
25+
- printf "port 9005 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9005/redis.conf
26+
- cd 9000 && redis-server ./redis.conf &
27+
- cd 9001 && redis-server ./redis.conf &
28+
- cd 9002 && redis-server ./redis.conf &
29+
- cd 9003 && redis-server ./redis.conf &
30+
- cd 9004 && redis-server ./redis.conf &
31+
- cd 9005 && redis-server ./redis.conf &
32+
- redis-cli --cluster create 127.0.0.1:9000 127.0.0.1:9001 127.0.0.1:9002 127.0.0.1:9003 127.0.0.1:9004 127.0.0.1:9005 --cluster-replicas 1 --cluster-yes
33+
1834
jobs:
1935
include:
2036
- stage: spring-boot-2.1

CHANGELOG.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
1-
# Changelog
2-
All notable changes to Rqueue project will be documented in this file.
1+
# [Rqueue] New and Notable Changes
32

4-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
3+
**NOTE**: The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
64

75

8-
## [2.0.0] - TBD
6+
## [2.0.1] - 17-May-2020
7+
8+
### Added
9+
- Allow registering a queue, that can be in push only mode
10+
- Apis to schedule task at the given time
11+
- Refine enqueueIn apis to support Duration and TimeUnit
12+
13+
### Fixes
14+
- Arguments mismatch due to multiple class loaders.
15+
- Dead letter queue clear lead to clearing all the messages related to that queue.
16+
17+
18+
## [2.0.0] - 10-May-2020
919
### Added
1020
- Web interface to visualize queue
1121
- Move message from one queue to another
1222
- Latency visualizer
13-
- Delete message from the queue
23+
- Delete one or more message(s) from the queue
1424
- Allow deactivating a consumer in a given environment
1525
- Single or multiple execution of polled messages
1626
- Queue level concurrency
17-
- BackOff for failed message, linear or exponential
27+
- BackOff for failed messages, linear or exponential
1828
- Group level queue priority
1929
- Multi level queue priority
2030
- Strict or weighted algorithm for message execution
@@ -33,22 +43,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3343
## [1.3.2] - 01-Apr-2020
3444
* Support lower version of spring 2.1.x
3545

36-
3746
## [1.3.1] - 27-Feb-2020
3847
* **Fixed** Bootstrap issue due to optional dependencies of micrometer
3948

40-
4149
## [1.3] - 11-Dec-2019
42-
### Added
43-
* Expose 6 queue metrics using micrometer. (queue-size, delay queue size, processing queue size, dead letter queue size, execution counter, failure counter)
50+
* Expose multiple queue metrics using micrometer. (queue-size, delay queue size, processing queue size, dead letter queue size, execution counter, failure counter)
4451
* An api to move messages from dead letter queue to other queue. (Any source queue to target queue).
4552

4653
### Fixed
47-
* An issue in scheduler that's always scheduling job at the delay of 5 seconds. (this leads to messages are not copied from delayed queue to main queue on high load)
54+
* An issue in the scheduler that's always scheduling job at the delay of 5 seconds. (this leads to messages are not copied from delayed queue to main queue on high load)
4855

4956

5057
## [1.2] - 03-Nov-2019
51-
* Fixed typo of *Later* to *Letter*
58+
* Typo of *Later* to *Letter*
5259

5360

5461
## [1.1] - 02-Nov-2019
@@ -57,7 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5764
* Lua script to make atomic operation
5865

5966
## [1.0] - 23-Oct-2019
60-
* Basic version of Asynchronous task execution using Redis for Spring and Spring Boot
67+
* The basic version of Asynchronous task execution using Redis for Spring and Spring Boot
6168

6269
[1.0]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue/1.0-RELEASE
6370
[1.1]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue/1.1-RELEASE
@@ -67,3 +74,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6774
[1.3.2]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue/1.3.2-RELEASE
6875
[1.4.0]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue/1.4.0-RELEASE
6976
[2.0.0]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue/2.0.0-RELEASE
77+
[2.0.1]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue/2.0.1-RELEASE

0 commit comments

Comments
 (0)