Skip to content

Commit 15cba69

Browse files
Merge pull request #104 from guoshiqiufeng/release-please--branches--dev--components--standard-version
chore(dev): release 1.2.1
2 parents ffc613b + a7a22ec commit 15cba69

File tree

7 files changed

+57
-11
lines changed

7 files changed

+57
-11
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [1.2.1](https://github.com/guoshiqiufeng/loki/compare/v1.2.0...v1.2.1) (2024-06-24)
4+
5+
6+
### 🔨 Dependency Upgrades
7+
8+
* Update Gradle to 8.8 ([24e0970](https://github.com/guoshiqiufeng/loki/commit/24e09706063d9f31d1c1f2345fade3a3cefff95f))
9+
* Update JedisClient to 5.1.3 ([24e0970](https://github.com/guoshiqiufeng/loki/commit/24e09706063d9f31d1c1f2345fade3a3cefff95f))
10+
* Update rocketmq-client-java to 5.0.7 ([4e928bb](https://github.com/guoshiqiufeng/loki/commit/4e928bba19f9f01893b0413063b22ad05e078ddc))
11+
* Update Spring Framework to 5.3.37 ([24e0970](https://github.com/guoshiqiufeng/loki/commit/24e09706063d9f31d1c1f2345fade3a3cefff95f))
12+
313
## [1.2.0](https://github.com/guoshiqiufeng/loki/compare/v1.1.1...v1.2.0) (2024-04-16)
414

515

README-zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ https://guoshiqiufeng.github.io/loki-doc/
2020
### 开发框架
2121

2222
- Java 21
23-
- Gradle 8.7
23+
- Gradle 8.8
2424
- Spring Boot 2.7.18
2525
- rocketmq-client 5.2.0
26-
- rocketmq-client-java 5.0.6 (RocketMQ-grpc)
26+
- rocketmq-client-java 5.0.7 (RocketMQ-grpc)
2727
- kafka-clients 3.7.0
28-
- jedis 5.1.2
28+
- jedis 5.1.3
2929
- spring-data-redis (可选)
3030

3131
### 功能

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ https://guoshiqiufeng.github.io/loki-doc/en/
2020
### Development Framework
2121

2222
- Java 21
23-
- Gradle 8.7
23+
- Gradle 8.8
2424
- Spring Boot 2.7.18
2525
- rocketmq-client 5.2.0
26-
- rocketmq-client-java 5.0.6 (RocketMQ-grpc)
26+
- rocketmq-client-java 5.0.7 (RocketMQ-grpc)
2727
- kafka-clients 3.7.0
28-
- jedis 5.1.2
28+
- jedis 5.1.3
2929
- spring-data-redis (Optional)
3030

3131
### Features

ext.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ ext {
66
libraries = [
77
springBootVersion = '2.7.18',
88
springBoot3Version = '3.2.1',
9-
springVersion = '5.3.34',
9+
springVersion = '5.3.37',
1010
rocketMqClientVersion = '5.2.0',
11-
rocketMqClientJavaVersion = '5.0.6',
11+
rocketMqClientJavaVersion = '5.0.7',
1212
kafkaClientsVersion = '3.7.0',
13-
jedisVersion = '5.1.2',
13+
jedisVersion = '5.1.3',
1414
hutoolVersion = '5.8.26',
1515
opentelemetryVersion = "1.31.0",
1616
okhttpVersion = "4.12.0",

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# {x-release-please-start-version}
2-
APP_VERSION=1.2.0
2+
APP_VERSION=1.2.1
33
# {x-release-please-end-version}
44
APP_GROUP=io.github.guoshiqiufeng
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Fri Nov 10 10:59:22 CST 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package io.github.guoshiqiufeng.loki.support.core.pipeline;
2+
3+
import io.github.guoshiqiufeng.loki.support.core.consumer.ConsumerRecord;
4+
import io.github.guoshiqiufeng.loki.support.core.producer.ProducerRecord;
5+
import org.junit.Assert;
6+
import org.junit.Test;
7+
8+
/**
9+
* @author yanghq
10+
* @version 1.0
11+
* @since 2024/4/17 15:41
12+
*/
13+
public class PipelineUtilsTest {
14+
15+
@Test
16+
public void testProcessSend() {
17+
ProducerRecord producerRecord = new ProducerRecord();
18+
producerRecord.setTopic("processSend");
19+
producerRecord.setTag("create");
20+
producerRecord.setMessage("test message");
21+
22+
Assert.assertNull(PipelineUtils.processSend(producerRecord));
23+
}
24+
25+
@Test
26+
public void testProcessListener() {
27+
ConsumerRecord consumerRecord = new ConsumerRecord();
28+
consumerRecord.setTopic("processListener");
29+
consumerRecord.setTag("create");
30+
consumerRecord.setMessageId("");
31+
consumerRecord.setMessageGroup("");
32+
consumerRecord.setBodyMessage("test message listener");
33+
34+
Assert.assertNull(PipelineUtils.processListener(consumerRecord));
35+
}
36+
}

0 commit comments

Comments
 (0)