|
@@ -9,11 +9,11 @@ spring:
|
|
|
key-password: cmsk-ioc-1234
|
|
|
key-store-type: JKS
|
|
|
#ssl配置绝对路径
|
|
|
- key-store-location: file:D:\temp\ioc-ssl\client.keystore.jks #file:/usr/persagy/iot-transfer/config/client.keystore.jks #windows参考 file://D:\temp\ioc-ssl\client.keystore.jks
|
|
|
+ key-store-location: file:/usr/persagy/iot-transfer/config/client.keystore.jks #windows参考 file:D:\temp\ioc-ssl\client.keystore.jks
|
|
|
key-store-password: cmsk-ioc-1234
|
|
|
trust-store-type: JKS
|
|
|
#ssl配置绝对路径
|
|
|
- trust-store-location: file:D:\temp\ioc-ssl\client.truststore.jks #file:/usr/persagy/iot-transfer/config/client.truststore.jks #windows参考 file://D:\temp\ioc-ssl\client.truststore.jks
|
|
|
+ trust-store-location: file:/usr/persagy/iot-transfer/config/client.truststore.jks #windows参考 file:D:\temp\ioc-ssl\client.truststore.jks
|
|
|
trust-store-password: cmsk-ioc-1234
|
|
|
producer:
|
|
|
# 发生错误后,消息重发的次数。
|
|
@@ -68,9 +68,9 @@ iot:
|
|
|
# 程序一式两份,一份部署在云端,一份部署在边缘端,一式两份之间通过kafka通讯,实现内外网之间的iot数据通讯
|
|
|
type:
|
|
|
# 程序部署位置类型,部署在云端一侧的,需要设置cloud为true,edge为false,需要更改
|
|
|
- cloud: true
|
|
|
+ cloud: false
|
|
|
# 程序部署位置类型,部署在边缘端一侧的,需要设置cloud为false,edge为true,需要更改
|
|
|
- edge: true
|
|
|
+ edge: false
|
|
|
server:
|
|
|
#同原来iot-collect中的util.xml配置,用于部署在需要更改edge边缘端给iot-project通讯使用,需要更改
|
|
|
collect:
|
|
@@ -80,7 +80,7 @@ iot:
|
|
|
tcp_bind_port: 8851
|
|
|
udp_enable: false
|
|
|
udp_bind_ip: 0.0.0.0
|
|
|
- udp_bind_port: 8861
|
|
|
+ udp_bind_port: 8851
|
|
|
max_size: 1000
|
|
|
sleepcount: 1000
|
|
|
separate_begin: (
|
|
@@ -105,7 +105,7 @@ iot:
|
|
|
#iot-collect IP,需要更改
|
|
|
target_ip: 127.0.0.1
|
|
|
#iot-collect port,需要更改
|
|
|
- target_port: 8861
|
|
|
+ target_port: 8851
|
|
|
max_size: 1000
|
|
|
sleepcount: 1000
|
|
|
separate_begin: (
|