Skip to content

Commit 7381c4f

Browse files
author
chenby
committed
Merge remote-tracking branch 'origin/master' into dev
# Conflicts: # pom.xml # src/main/assembly/assembly-native.xml # src/main/java/com/moilioncircle/redis/rdb/cli/ext/rct/KeyValRdbVisitor.java # src/main/resources/.version # src/main/resources/META-INF/native-image/com.moilioncircle/redis-rdb-cli/jni-config.json # src/main/resources/META-INF/native-image/com.moilioncircle/redis-rdb-cli/reflect-config.json # src/main/resources/META-INF/native-image/com.moilioncircle/redis-rdb-cli/resource-config.json
2 parents 001079a + 8209bec commit 7381c4f

47 files changed

Lines changed: 628 additions & 2203 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docker.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,5 @@ jobs:
2626
file: ./Dockerfile
2727
push: false
2828
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:latest
29-
- name: Build docker latest-native
30-
id: latest-native
31-
uses: docker/build-push-action@v4
32-
with:
33-
context: ./
34-
file: ./DockerfileNative
35-
push: false
36-
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:latest-native
3729
- name: Image digest
3830
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/native.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,5 @@ jobs:
5555
file: ./Dockerfile
5656
push: true
5757
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:${{ env.RELEASE_TAG }}
58-
- name: Build and Push latest-native
59-
id: latest-native
60-
uses: docker/build-push-action@v4
61-
with:
62-
context: ./
63-
file: ./DockerfileNative
64-
push: true
65-
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:latest-native
66-
- name: Build and Push ${{ env.RELEASE_TAG }}-native
67-
id: tag-native
68-
uses: docker/build-push-action@v4
69-
with:
70-
context: ./
71-
file: ./DockerfileNative
72-
push: true
73-
tags: ${{ secrets.DOCKER_USER }}/${{ secrets.REPO }}:${{ env.RELEASE_TAG }}-native
7458
- name: Image digest
7559
run: echo ${{ steps.docker_build.outputs.digest }}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 0.9.7
2+
3+
Add support for redis 8.0.
4+
Remove native image support.
5+
16
### 0.9.6
27

38
Fix `rdt` convert db bug.

DockerfileNative

Lines changed: 0 additions & 34 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,11 @@ $ docker-compose down
287287
```
288288

289289
`cd /path/to/redis-rdb-cli/conf/redis-rdb-cli.conf`
290-
Then change parameter [metric_gateway](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L169) from `none` to `influxdb`.
290+
Then change parameter `metric_gateway` from `none` to `influxdb`.
291291

292292
Open `http://localhost:3000` to check the `rct -f mem`'s result.
293293

294-
If you deployed this tool in multi instance, you need to change parameter [metric_instance](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L215) to make sure unique between instances.
294+
If you deployed this tool in multi instance, you need to change parameter `metric_instance` to make sure unique between instances.
295295

296296
## Redis 6
297297

@@ -309,8 +309,8 @@ $ openssl pkcs12 -export -CAfile ca.crt -in redis.crt -inkey redis.key -out redi
309309
```
310310

311311
2. If source redis and target redis use the same keystore. then config following parameters
312-
[source_keystore_path](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L230) and [target_keystore_path](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L259) to point to `/path/to/redis-6.0-rc1/tests/tls/redis.p12`
313-
set [source_keystore_pass](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L238) and [target_keystore_pass](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L267)
312+
`source_keystore_path` and `target_keystore_path` to point to `/path/to/redis-6.0-rc1/tests/tls/redis.p12`
313+
set `source_keystore_pass` and `target_keystore_pass`
314314

315315
3. after config ssl parameters use `rediss://host:port` in your command to open ssl, for example: `rst -s rediss://127.0.0.1:6379 -m rediss://127.0.0.1:30001 -r -d 0`
316316

@@ -456,13 +456,13 @@ User should follow the steps below to implement a sink service.
456456
<dependency>
457457
<groupId>com.moilioncircle</groupId>
458458
<artifactId>redis-rdb-cli-api</artifactId>
459-
<version>1.8.0</version>
459+
<version>1.9.0</version>
460460
<scope>provided</scope>
461461
</dependency>
462462
<dependency>
463463
<groupId>com.moilioncircle</groupId>
464464
<artifactId>redis-replicator</artifactId>
465-
<version>[3.6.4, )</version>
465+
<version>[3.9.0, )</version>
466466
<scope>provided</scope>
467467
</dependency>
468468
<dependency>

README.zh_CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,11 @@ $ docker-compose down
287287
```
288288

289289
`cd /path/to/redis-rdb-cli/conf/redis-rdb-cli.conf`
290-
[metric_gateway](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L169) 这个参数从 `none` 改成 `influxdb`
290+
`metric_gateway` 这个参数从 `none` 改成 `influxdb`
291291

292292
浏览器打开 `http://localhost:3000` 来查看 `rct -f mem` 命令的结果.
293293

294-
如果你把这个工具部署在多个实例上, 需要更改如下参数 [metric_instance](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L215) 并保证在每个实例上参数名唯一
294+
如果你把这个工具部署在多个实例上, 需要更改如下参数 `metric_instance` 并保证在每个实例上参数名唯一
295295

296296
## Redis 6
297297

@@ -309,8 +309,8 @@ $ openssl pkcs12 -export -CAfile ca.crt -in redis.crt -inkey redis.key -out redi
309309
```
310310

311311
2. 如果源 redis 和目标 redis 使用同样的 keystore. 那么配置如下参数
312-
[source_keystore_path](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L230)[target_keystore_path](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L259) 指向 `/path/to/redis-6.0-rc1/tests/tls/redis.p12`
313-
设置 [source_keystore_pass](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L238)[target_keystore_pass](https://github.com/leonchen83/redis-rdb-cli/blob/master/src/main/resources/redis-rdb-cli.conf#L267)
312+
`source_keystore_path``target_keystore_path` 指向 `/path/to/redis-6.0-rc1/tests/tls/redis.p12`
313+
设置 `source_keystore_pass``target_keystore_pass`
314314

315315
3. 在配置完 ssl 参数之后, 在你的命令中使用 `rediss://host:port` 这样的URI来开启ssl, 比如: `rst -s rediss://127.0.0.1:6379 -m rediss://127.0.0.1:30001 -r -d 0`
316316

@@ -456,13 +456,13 @@ migrate_flush=yes
456456
<dependency>
457457
<groupId>com.moilioncircle</groupId>
458458
<artifactId>redis-rdb-cli-api</artifactId>
459-
<version>1.8.0</version>
459+
<version>1.9.0</version>
460460
<scope>provided</scope>
461461
</dependency>
462462
<dependency>
463463
<groupId>com.moilioncircle</groupId>
464464
<artifactId>redis-replicator</artifactId>
465-
<version>[3.6.4, )</version>
465+
<version>[3.9.0, )</version>
466466
<scope>provided</scope>
467467
</dependency>
468468
<dependency>

0 commit comments

Comments
 (0)