Skip to content

Commit

Permalink
V-2.0.1
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sonus21 authored May 17, 2020
1 parent ea243d6 commit 36bb806
Show file tree
Hide file tree
Showing 97 changed files with 2,184 additions and 943 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ cache:
directories:
- $HOME/.gradle

before_script:
- mkdir 9000 9001 9002 9003 9004 9005
- printf "port 9000 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9000/redis.conf
- printf "port 9001 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9001/redis.conf
- printf "port 9002 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9002/redis.conf
- printf "port 9003 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9003/redis.conf
- printf "port 9004 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9004/redis.conf
- printf "port 9005 \ncluster-enabled yes \ncluster-config-file nodes.conf \ncluster-node-timeout 5000 \nappendonly yes" >> 9005/redis.conf
- cd 9000 && redis-server ./redis.conf &
- cd 9001 && redis-server ./redis.conf &
- cd 9002 && redis-server ./redis.conf &
- cd 9003 && redis-server ./redis.conf &
- cd 9004 && redis-server ./redis.conf &
- cd 9005 && redis-server ./redis.conf &
- 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

jobs:
include:
- stage: spring-boot-2.1
Expand Down
36 changes: 22 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
# Changelog
All notable changes to Rqueue project will be documented in this file.
# [Rqueue] New and Notable Changes

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).
**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).


## [2.0.0] - TBD
## [2.0.1] - 17-May-2020

### Added
- Allow registering a queue, that can be in push only mode
- Apis to schedule task at the given time
- Refine enqueueIn apis to support Duration and TimeUnit

### Fixes
- Arguments mismatch due to multiple class loaders.
- Dead letter queue clear lead to clearing all the messages related to that queue.


## [2.0.0] - 10-May-2020
### Added
- Web interface to visualize queue
- Move message from one queue to another
- Latency visualizer
- Delete message from the queue
- Delete one or more message(s) from the queue
- Allow deactivating a consumer in a given environment
- Single or multiple execution of polled messages
- Queue level concurrency
- BackOff for failed message, linear or exponential
- BackOff for failed messages, linear or exponential
- Group level queue priority
- Multi level queue priority
- Strict or weighted algorithm for message execution
Expand All @@ -33,22 +43,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.3.2] - 01-Apr-2020
* Support lower version of spring 2.1.x


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


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

### Fixed
* 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)
* 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)


## [1.2] - 03-Nov-2019
* Fixed typo of *Later* to *Letter*
* Typo of *Later* to *Letter*


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

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

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

0 comments on commit 36bb806

Please sign in to comment.