github.com/isyscore/isc-gobase@v1.5.3-0.20231218061332-cbc7451899e9/extend/emqx/test/application-config.yaml (about)

     1  base:
     2    emqx:
     3      # 是否开启emqx,默认关闭
     4      enable: true
     5      servers:
     6        # 域名格式1
     7        - "tcp://{user}:{password}@{host}:{port}"
     8        # 域名格式2
     9        - "tcp://{host}:{port}"
    10      client-id: "xxxx"
    11      username: "xxxx"
    12      password: "xxxx"
    13      # 是否清理session,默认为true
    14      clean-session: true
    15      order: true
    16      will-enabled: true
    17      will-topic: "xxx-topic"
    18      will-qos: 0
    19      will-retained: false
    20      protocol-version: 0
    21      keep-alive: 30
    22      ping-timeout: "10s"
    23      connect-timeout: "30s"
    24      max-reconnect-interval: "10m"
    25      auto-reconnect: true
    26      connect-retry-interval: "30s"
    27      connect-retry: false
    28      write-timeout: 0
    29      resume-subs: false
    30      max-resume-pub-in-flight: 0
    31      auto-ack-disabled: false