From f7178996ca77a1bccc941c0e7a73b36803e508cb Mon Sep 17 00:00:00 2001 From: vince <757871790@qq.com> Date: 星期五, 01 三月 2024 16:13:11 +0800 Subject: [PATCH] 优化协议 --- src/main/resources/application-devGateway.yml | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application-devGateway.yml b/src/main/resources/application-devGateway.yml index 4774c3a..d13cc61 100644 --- a/src/main/resources/application-devGateway.yml +++ b/src/main/resources/application-devGateway.yml @@ -12,7 +12,6 @@ #娆℃暟鎹簮 secondary: url: jdbc:mysql://127.0.0.1:3306/igds_5012?useUnicode=true&useSSL=false&characterEncoding=utf-8 - username: root password: Abc123.. driver-class-name: com.mysql.jdbc.Driver @@ -35,7 +34,7 @@ dialect: org.hibernate.dialect.MySQL5InnoDBDialect # Redis鐩稿叧閰嶇疆 redis: - database: 5 + database: 0 host: 127.0.0.1 port: 6379 password: Redispwd.. @@ -46,8 +45,10 @@ max-idle: 10 min-idle: 0 timeout: 6000 + kafka: bootstrap-servers: 103.203.217.16:9092 + enabled: false producer: retries: 0 acks: 1 @@ -72,13 +73,13 @@ mqtt: host: tcp://127.0.0.1:1883 username: admin - password: pwdmqtt.. - client-id: fzzy-customer-igds-api - timeout: 10 - keep-alive-interval: 20 + password: admin123321 + client-inId: fzzy_client_id_in_igds_api + client-outId: fzzy_client_id_out_igds_api + completionTimeout: 3000 + keep-alive-interval: 2 max-connect-times: 5 qos: 0 isOpen: false - default: - topic: testTopic - topics: "/+/+/properties/report,/device-message-sender/+/+" \ No newline at end of file + default-topic: mqtt/+/test1 + topics: /device-message-sender/# \ No newline at end of file -- Gitblit v1.9.3