diff --git a/CHANGELOG.md b/CHANGELOG.md index a5e0a876..8376ffbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # [Rqueue] New and Notable Changes -## [2.7.0] - TBD +## [2.7.0] - 13-Apr-2021 ### Fixes @@ -221,3 +221,5 @@ Fixes: [2.6.0]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.6.0-RELEASE [2.6.1]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.6.1-RELEASE + +[2.7.0]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.7.0-RELEASE diff --git a/README.md b/README.md index 114afcb5..73552690 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [![Javadoc](https://javadoc.io/badge2/com.github.sonus21/rqueue-core/javadoc.svg)](https://javadoc.io/doc/com.github.sonus21/rqueue-core) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) -**Rqueue** is an asynchronous task executor(worker) built for spring framework based on the spring +**Rqueue** is an asynchronous task executor(worker) built for spring(boot) framework based on the spring framework's messaging library backed by Redis. It can be used as message broker as well, where all services code is in Spring. @@ -24,9 +24,9 @@ services code is in Spring. * **Message delivery**: It's guaranteed that a message is consumed **at least once**. (Message would be consumed by a worker more than once due to the failure in the underlying worker/restart-process etc, otherwise exactly one delivery) -* **Redis cluster** : Redis cluster can be used with driver. +* **Redis cluster** : Redis cluster can be used with Lettuce client. * **Metrics** : In flight messages, waiting for consumption and delayed messages -* **Web Dashboard**: a web dashboard to manage a queue and queue insights including latency +* **Web Dashboard**: Web dashboard to manage a queue and queue insights including latency * **Automatic message serialization and deserialization** * **Concurrency**: Concurrency of any queue can be configured * **Queue Priority** : @@ -43,10 +43,20 @@ services code is in Spring. * **Message Multicasting**: Call multiple message listeners on very message * **Reactive Programming**: Supports reactive Redis and spring webflux +### Requirements + +* Spring 5+ +* Spring boot 2+ +* Lettuce client for Redis cluster +* Read master preference for Redis cluster + ## Getting Started ### Dependency +Snapshot Version: https://s01.oss.sonatype.org/content/repositories/snapshots +Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.sonus21) + #### Spring-boot * Get the latest one @@ -54,14 +64,14 @@ services code is in Spring. * Add dependency * Gradle ```groovy - implementation 'com.github.sonus21:rqueue-spring-boot-starter:2.6.1-RELEASE' + implementation 'com.github.sonus21:rqueue-spring-boot-starter:2.7.0-RELEASE' ``` * Maven ```xml com.github.sonus21 rqueue-spring-boot-starter - 2.6.1-RELEASE + 2.7.0-RELEASE ``` @@ -72,14 +82,14 @@ services code is in Spring. * Add Dependency * Gradle ```groovy - implementation 'com.github.sonus21:rqueue-spring:2.6.1-RELEASE' + implementation 'com.github.sonus21:rqueue-spring:2.7.0-RELEASE' ``` * Maven ```xml com.github.sonus21 rqueue-spring - 2.6.1-RELEASE + 2.7.0-RELEASE ``` diff --git a/build.gradle b/build.gradle index 1b9a63f6..1bafb691 100644 --- a/build.gradle +++ b/build.gradle @@ -27,11 +27,11 @@ ext { springVersion = System.getenv("SPRING_VERSION") springDataVersion = System.getenv("SPRING_DATA_VERSION") microMeterVersion = System.getenv("MICROMETER_VERSION") - -// springBootVersion = '2.2.0.RELEASE' -// springVersion = '5.2.0.RELEASE' -// springDataVersion = '2.2.0.RELEASE' -// microMeterVersion = '1.3.2' +// +// springBootVersion = '2.0.6.RELEASE' +// springVersion = '5.0.10.RELEASE' +// springDataVersion = '2.0.6.RELEASE' +// microMeterVersion = '1.1.0' // logging dependencies lombokVersion = '1.18.10' diff --git a/gradle/packaging.gradle b/gradle/packaging.gradle index e915c22a..04b73ab0 100644 --- a/gradle/packaging.gradle +++ b/gradle/packaging.gradle @@ -22,7 +22,9 @@ jar { 'Build-Revision': version, 'Created-By': "Gradle ${gradle.gradleVersion}", 'Build-Jdk': "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})", - 'Build-OS': "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}" + 'Build-OS': "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}", + 'Spring-Version': "${springVersion}", + 'Spring-Boot-Version': "${springBootVersion}" ) } }