version: v0.0.1 system: log: console: level: info # available levels: debug, info, warn, error, dpanic, panic, fatal http: defaultPort: 8080 plugins: enabled: - debug - health - systree - prometheus - persistence_bbolt - auth_http config: monitoring: - backend: systree config: interval: 1 - backend: prometheus config: path: "/metrics" port: 8080 debug: - backend: prof.profiler config: cmdline: true cpu: true mem: true trace: true block: 100000 mutex: 1000000 health: - backend: health config: livenessEndpoint: live readinessEndpoint: ready persistence: # plugin type - backend: bbolt # plugin internal name config: file: "/usr/lib/volantmq/persistence/data/bbolt.db" auth: # plugin type - name: internal # authenticator name, used by listeners backend: simpleAuth # authenticator type config: users: testuser: "9f735e0df9a1ddc702bf0a1a7b83033f9f7153a00c29de82cedadc9957289b05" # password must be sha-256 hashed - name: http1 backend: http config: path: user: http://localhost:6062/user resource: http://localhost:6062/resource auth: anonymous: true order: - internal mqtt: version: - v3.1.1 - v5.0 keepAlive: period: 60 # KeepAlive The number of seconds to keep the connection live if there's no data. # Default is 60 seconds force: false # Force connection to use server keep alive interval (MQTT 5.0 only) # Default is false options: connectTimeout: 5 # The number of seconds to wait for the CONNECT message before disconnecting. # If not set then default to 2 seconds. offlineQoS0: true # OfflineQoS0 tell server to either persist (true) or ignore (false) QoS 0 messages for non-clean sessions # If not set than default is false sessionPreempt: true # Either allow or deny replacing of existing session if there new client with same clientID # If not set than default is false retainAvailable: true # don't set to use default subsOverlap: true # tells server how to handle overlapping subscriptions from within one client # if true server will send only one publish with max subscribed QoS even there are n subscriptions # if false server will send as many publishes as amount of subscriptions matching publish topic exists # Default is false subsId: true # don't set to use default subsShared: false # don't set to use default subsWildcard: true # don't set to use default receiveMax: 65530 # don't set to use default maxPacketSize: 268435455 # don't set to use default maxTopicAlias: 65535 # don't set to use default maxQoS: 2 listeners: defaultAddr: "0.0.0.0" # default 127.0.0.1 mqtt: tcp: 1883: auth: tls: ws: 8883: