-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from mqttsnet/dev
Dev
- Loading branch information
Showing
67 changed files
with
1,644 additions
and
894 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ hs_err_pid* | |
/thinglinks-visual/*/target | ||
*.iml | ||
doc/ | ||
src/ | ||
/src/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
# \u5728\u8FD9\u4E2A\u914D\u7F6E\u6587\u4EF6\u4E2D\u914D\u7F6E\u7684\u5C5E\u6027\uFF0C\u662F\u6240\u6709\u670D\u52A1\u5747\u9700\u8981\u7684\u7EDF\u4E00\u7684\u914D\u7F6E\uFF0C\u4E14\u4E0D\u80FD\u914D\u7F6E\u5728nacos\u4E2D | ||
# \u5FAE\u670D\u52A1\u5BA2\u6237\u7AEF\u9700\u8981 \u914D\u7F6E\u7684 nacos \u670D\u52A1\u7AEF\u7684ip\u7B49\u4FE1\u606F | ||
nacos.ip=124.223.113.139 | ||
nacos.port=18848 | ||
# \u72EC\u7ACB\u547D\u540D\u7A7A\u95F4\u907F\u514D\u8DDF\u522B\u7684\u9879\u76EE\u51B2\u7A81 | ||
nacos.namespace=9507457f-fe75-43ad-a48a-40f6ffc60b8f | ||
nacos.username=thinglinks-test | ||
nacos.password=12345678 | ||
# 在这个配置文件中配置的属性,是所有服务均需要的统一的配置,且不能配置在nacos中 | ||
# 微服务客户端需要配置的nacos服务端的ip等信息 | ||
nacos.ip=127.0.0.1 | ||
nacos.port=8848 | ||
nacos.namespace=7b0a0646-fdeb-483f-b4c8-9024f8920be9 | ||
nacos.username=nacos | ||
nacos.password=nacos | ||
# 微服务注册到nacos的ip(确保微服务使用正确的 IP 地址进行注册) | ||
nacos.discovery.ip=127.0.0.1 | ||
|
||
# seata \u5BA2\u6237\u7AEF\u4ECE nacos \u62C9\u53D6\u914D\u7F6E\u548C\u6CE8\u518C\u7684\u547D\u540D\u7A7A\u95F4 \u8DDF nacos.namespace \u533A\u5206\u51FA\u6765\uFF0C\u539F\u56E0\u662F seata | ||
seata.namespace=23a01bfb-11c2-4a33-811f-8b57131a4d10 | ||
# seata \u7684 grouplist ip | ||
# seata 客户端从 nacos 拉取配置和注册的命名空间 跟 nacos.namespace 区分开来,原因为 seata | ||
seata.namespace=f65008d9-37f1-45ce-88eb-fba641041065 | ||
# seata 的 grouplist ip | ||
seata.ip=127.0.0.1 | ||
# seata \u7684 grouplist \u7AEF\u53E3 | ||
# seata 的 grouplist 端口 | ||
seata.port=8091 | ||
# \u65E5\u5FD7\u5B58\u50A8\u8DEF\u5F84 | ||
logging.file.path=/usr/local/mqtts/logs | ||
# sentinel \u63A7\u5236\u53F0 | ||
# 日志存储路径 | ||
logging.file.path=/data01/mqttsnet/data_dev/logs | ||
# sentinel 控制台的地址 | ||
sentinel.dashboard=127.0.0.1:8088 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
# \u5728\u8FD9\u4E2A\u914D\u7F6E\u6587\u4EF6\u4E2D\u914D\u7F6E\u7684\u5C5E\u6027\uFF0C\u662F\u6240\u6709\u670D\u52A1\u5747\u9700\u8981\u7684\u7EDF\u4E00\u7684\u914D\u7F6E\uFF0C\u4E14\u4E0D\u80FD\u914D\u7F6E\u5728nacos\u4E2D | ||
# \u5FAE\u670D\u52A1\u5BA2\u6237\u7AEF\u9700\u8981 \u914D\u7F6E\u7684 nacos \u670D\u52A1\u7AEF\u7684ip\u7B49\u4FE1\u606F | ||
# 在这个配置文件中配置的属性,是所有服务均需要的统一的配置,且不能配置在nacos中 | ||
# 微服务客户端需要配置的nacos服务端的ip等信息 | ||
nacos.ip=127.0.0.1 | ||
nacos.port=8848 | ||
# \u72EC\u7ACB\u547D\u540D\u7A7A\u95F4\u907F\u514D\u8DDF\u522B\u7684\u9879\u76EE\u51B2\u7A81 | ||
nacos.namespace=23a01bfb-11c2-4a33-811f-8b57131a4d10 | ||
nacos.namespace=7b0a0646-fdeb-483f-b4c8-9024f8920be9 | ||
nacos.username=nacos | ||
nacos.password=123456 | ||
nacos.password=nacos | ||
# 微服务注册到nacos的ip(确保微服务使用正确的 IP 地址进行注册) | ||
nacos.discovery.ip=127.0.0.1 | ||
|
||
# seata \u5BA2\u6237\u7AEF\u4ECE nacos \u62C9\u53D6\u914D\u7F6E\u548C\u6CE8\u518C\u7684\u547D\u540D\u7A7A\u95F4 \u8DDF nacos.namespace \u533A\u5206\u51FA\u6765\uFF0C\u539F\u56E0\u662F seata | ||
seata.namespace=23a01bfb-11c2-4a33-811f-8b57131a4d10 | ||
# seata \u7684 grouplist ip | ||
# seata 客户端从 nacos 拉取配置和注册的命名空间 跟 nacos.namespace 区分开来,原因为 seata | ||
seata.namespace=f65008d9-37f1-45ce-88eb-fba641041065 | ||
# seata 的 grouplist ip | ||
seata.ip=127.0.0.1 | ||
# seata \u7684 grouplist \u7AEF\u53E3 | ||
# seata 的 grouplist 端口 | ||
seata.port=8091 | ||
# \u65E5\u5FD7\u5B58\u50A8\u8DEF\u5F84 | ||
logging.file.path=/usr/local/mqtts/logs | ||
# sentinel \u63A7\u5236\u53F0 | ||
# 日志存储路径 | ||
logging.file.path=/data01/mqttsnet/data_prod/logs | ||
# sentinel 控制台的地址 | ||
sentinel.dashboard=127.0.0.1:8088 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 在这个配置文件中配置的属性,是所有服务均需要的统一的配置,且不能配置在nacos中 | ||
# 微服务客户端需要配置的nacos服务端的ip等信息 | ||
nacos.ip=127.0.0.1 | ||
nacos.port=8848 | ||
nacos.namespace=7b0a0646-fdeb-483f-b4c8-9024f8920be9 | ||
nacos.username=nacos | ||
nacos.password=nacos | ||
# 微服务注册到nacos的ip(确保微服务使用正确的 IP 地址进行注册) | ||
nacos.discovery.ip=127.0.0.1 | ||
|
||
# seata 客户端从 nacos 拉取配置和注册的命名空间 跟 nacos.namespace 区分开来,原因为 seata | ||
seata.namespace=f65008d9-37f1-45ce-88eb-fba641041065 | ||
# seata 的 grouplist ip | ||
seata.ip=127.0.0.1 | ||
# seata 的 grouplist 端口 | ||
seata.port=8091 | ||
# 日志存储路径 | ||
logging.file.path=/data01/mqttsnet/data_release/logs | ||
# sentinel 控制台的地址 | ||
sentinel.dashboard=127.0.0.1:8088 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 在这个配置文件中配置的属性,是所有服务均需要的统一的配置,且不能配置在nacos中 | ||
# 微服务客户端需要配置的nacos服务端的ip等信息 | ||
nacos.ip=127.0.0.1 | ||
nacos.port=8848 | ||
nacos.namespace=7b0a0646-fdeb-483f-b4c8-9024f8920be9 | ||
nacos.username=nacos | ||
nacos.password=nacos | ||
# 微服务注册到nacos的ip(确保微服务使用正确的 IP 地址进行注册) | ||
nacos.discovery.ip=127.0.0.1 | ||
|
||
# seata 客户端从 nacos 拉取配置和注册的命名空间 跟 nacos.namespace 区分开来,原因为 seata | ||
seata.namespace=f65008d9-37f1-45ce-88eb-fba641041065 | ||
# seata 的 grouplist ip | ||
seata.ip=127.0.0.1 | ||
# seata 的 grouplist 端口 | ||
seata.port=8091 | ||
# 日志存储路径 | ||
logging.file.path=/data01/mqttsnet/data_test/logs | ||
# sentinel 控制台的地址 | ||
sentinel.dashboard=127.0.0.1:8088 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# 使用 Java 运行环境 | ||
FROM openjdk:8-jre | ||
FROM registry.cn-hangzhou.aliyuncs.com/mqttsnet-community/openjdk:17-jdk | ||
|
||
# 维护者信息 | ||
LABEL maintainer="mqttsnet [email protected]" | ||
|
@@ -22,4 +22,16 @@ HEALTHCHECK --interval=30s --timeout=30s --retries=3 \ | |
CMD curl -f http://localhost:19200/actuator/health || exit 1 | ||
|
||
# 启动 Java 应用 | ||
ENTRYPOINT ["java", "-Xmx512m", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar"] | ||
ENTRYPOINT ["java", \ | ||
"--add-opens=java.base/java.lang=ALL-UNNAMED", \ | ||
"-Xms512m", "-Xmx1024m", \ | ||
"-XX:ReservedCodeCacheSize=256m", \ | ||
"-XX:InitialCodeCacheSize=256m", \ | ||
"-XX:+UnlockExperimentalVMOptions", \ | ||
"-XX:+UseZGC", \ | ||
"-XX:ConcGCThreads=1", "-XX:ParallelGCThreads=2", \ | ||
"-XX:ZCollectionInterval=30", "-XX:ZAllocationSpikeTolerance=5", \ | ||
"-XX:+UnlockDiagnosticVMOptions", "-XX:-ZProactive", \ | ||
"-Dfile.encoding=UTF-8", \ | ||
"-Djava.security.egd=file:/dev/./urandom", \ | ||
"-jar", "/app.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...mmon-rocketmq/src/main/java/com/mqttsnet/thinglinks/common/rocketmq/domain/MQMessage.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.