Skip to content

Commit b9b7822

Browse files
authored
Multiple Fixes (#159)
1 parent 6a775f3 commit b9b7822

234 files changed

Lines changed: 615 additions & 413 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ aliases:
117117
executors:
118118
rqueue-executor:
119119
machine:
120-
image: ubuntu-1604:202007-01
120+
image: ubuntu-2004:202201-02
121121

122122
working_directory: ~/repo
123123

@@ -139,7 +139,7 @@ build_steps: &build_steps
139139
# fallback to using the latest cache if no exact match is found
140140
- v1-dependencies-
141141

142-
- run: gradle dependencies
142+
- run: ./gradlew dependencies
143143
- save_cache:
144144
paths:
145145
- ~/.gradle

CHANGELOG.md

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

3+
### [2.10.2] - 15-Jul-2022
4+
5+
### Fixes
6+
7+
* Message status is not enqueued only, but it should be successful, failed etc
8+
* Weighted queue with size 1 was not working
9+
* Deleted message reappears
10+
11+
### Features
12+
13+
* Disable Rqueue using `rqueue.enabled` flag
14+
315
### [2.10.1] - 18-Oct-2021
416

517
* Fixes for concurrency when task executor is provided see issue #[122]
@@ -281,4 +293,6 @@ Fixes:
281293

282294
[2.10.1]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.10.1-RELEASE
283295

296+
[2.10.2]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.10.2-RELEASE
297+
284298
[122]: https://github.com/sonus21/rqueue/issues/122

README.md

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ well, where all services code is in Spring.
1919

2020
## Features
2121

22-
* **Instant delivery** : Instant execute this message
22+
* **Instant delivery** : Instant execute this message in the background
2323
* **Message scheduling** : A message can be scheduled for any arbitrary period
2424
* **Unique message** : Unique message processing for a queue based on the message id
2525
* **Periodic message** : Process same message at certain interval
@@ -71,14 +71,14 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
7171
* Add dependency
7272
* Gradle
7373
```groovy
74-
implementation 'com.github.sonus21:rqueue-spring-boot-starter:2.10.1-RELEASE'
74+
implementation 'com.github.sonus21:rqueue-spring-boot-starter:2.10.2-RELEASE'
7575
```
7676
* Maven
7777
```xml
7878
<dependency>
7979
<groupId>com.github.sonus21</groupId>
8080
<artifactId>rqueue-spring-boot-starter</artifactId>
81-
<version>2.10.1-RELEASE</version>
81+
<version>2.10.2-RELEASE</version>
8282
</dependency>
8383
```
8484
@@ -91,14 +91,14 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
9191
* Add Dependency
9292
* Gradle
9393
```groovy
94-
implementation 'com.github.sonus21:rqueue-spring:2.10.1-RELEASE'
94+
implementation 'com.github.sonus21:rqueue-spring:2.10.2-RELEASE'
9595
```
9696
* Maven
9797
```xml
9898
<dependency>
9999
<groupId>com.github.sonus21</groupId>
100100
<artifactId>rqueue-spring</artifactId>
101-
<version>2.10.1-RELEASE</version>
101+
<version>2.10.2-RELEASE</version>
102102
</dependency>
103103
```
104104
@@ -255,12 +255,32 @@ a
255255
PR/[issue](https://github.com/sonus21/rqueue/issues/new?template=i-m-using-rqueue.md&title=Add+my+organisation+in+Rqueue+Users)
256256
.**
257257

258-
<a href="https://tuneyou.com/"><img alt="TuneYou" src="https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/users/tuneyou.png" width="150" align="middle"/></a>
258+
<a href="https://tuneyou.com"><img alt="TuneYou" src="https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/users/tuneyou.png" width="150" align="middle"/></a>
259259
&nbsp;&nbsp;
260260
<a href="https://www.pokerstarssports.eu"><img alt="PokerStars" src="https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/users/pokerstars.png" width="250" align="middle"/></a>
261261
&nbsp;&nbsp;
262-
<a href="https://bitbot.plus/"><img src="https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/users/bitbot.png" alt="Bitbot" height="60" align="middle"/></a>
262+
<a href="https://bitbot.plus"><img src="https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/users/bitbot.png" alt="Bitbot" height="60" align="middle"/></a>
263263
&nbsp;&nbsp;
264+
<a href="https://www.chaotiinfo.cn"><img src="https://raw.githubusercontent.com/sonus21/rqueue/master/docs/static/users/chaoti-info.png" alt="CHAOTI INFO TECH(SHENZHEN)" height="60" align="middle"/></a>
265+
&nbsp;&nbsp;
266+
267+
<!---- Signing Key
268+
~/.gradle/gradle.properties file
269+
270+
sonatypeUsername=xyz
271+
sonatypePassword=xyz
272+
signing.keyId=371EDCC6
273+
signing.password=xyz
274+
signing.secretKeyRingFile=/Users/sonu/.gnupg/secring.gpg
275+
276+
277+
For signing generate gpg key using gpg tool using `gpg --gen-key`
278+
279+
signing.password is gpg key password
280+
signing.keyId is last 8 character of gpg key, find using `gpg -K`
281+
signing.secretKeyRingFile=/Users/sonu/.gnupg/secring.gpg generate this as `gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpg`
282+
283+
--->
264284

265285
## Support
266286

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ext {
7070

7171
subprojects {
7272
group = 'com.github.sonus21'
73-
version = '2.10.1-RELEASE'
73+
version = '2.10.2-RELEASE'
7474

7575
dependencies {
7676
// https://mvnrepository.com/artifact/org.springframework/spring-messaging

docs/static/users/chaoti-info.png

43.9 KB
Loading

gradle/code-signing.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ artifacts {
1414
archives javadocJar
1515
}
1616

17-
ext.isNotCi = !"true".equals(System.getenv("CI"))
17+
ext.isNotCi = "true" != System.getenv("CI")
1818
signing {
1919
required { isNotCi && gradle.taskGraph.hasTask("uploadArchives") }
2020
sign configurations.archives

rqueue-core/src/main/java/com/github/sonus21/rqueue/annotation/MessageListener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import java.lang.annotation.Target;
2424
import org.springframework.core.annotation.AliasFor;
2525
import org.springframework.stereotype.Component;
26+
2627
/**
2728
* Indicates that an annotated class is a message listener
2829
*

rqueue-core/src/main/java/com/github/sonus21/rqueue/annotation/RqueueListener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
@Retention(RetentionPolicy.RUNTIME)
5454
@Documented
5555
public @interface RqueueListener {
56+
5657
/**
5758
* List of unique queues. Queues can be defined by their name, placeholder that would be resolved
5859
* to properties file or could be list of comma separated queue names.

rqueue-core/src/main/java/com/github/sonus21/rqueue/common/RqueueLockManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import java.time.Duration;
2020

2121
public interface RqueueLockManager {
22+
2223
boolean acquireLock(String lockKey, String lockValue, Duration duration);
2324

2425
boolean releaseLock(String lockKey, String lockValue);

rqueue-core/src/main/java/com/github/sonus21/rqueue/common/RqueueRedisTemplate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
@Slf4j
3636
public class RqueueRedisTemplate<V extends Serializable> {
37+
3738
protected RedisTemplate<String, V> redisTemplate;
3839

3940
public RqueueRedisTemplate(RedisConnectionFactory redisConnectionFactory) {

0 commit comments

Comments
 (0)