diff --git a/cmd/config/single.yml b/cmd/config/single.yml index 6a1aa1b..b11a886 100644 --- a/cmd/config/single.yml +++ b/cmd/config/single.yml @@ -2,11 +2,13 @@ storage-way: 1 #Storage way optional items:0 memory、1 bolt、2 badger、3 red storage-path: comqtt.db #Local storage path in single node mode. bridge-way: 0 #Bridge way optional items:0 disable、1 kafka bridge-path: ./cmd/config/bridge-kafka.yml #The bridge config file path -auth-way: 1 #Authentication way: 0 anonymous, 1 username and password, 2 clientid -auth-datasource: 1 #Optional items:0 free、1 redis、2 mysql、3 postgresql、4 http ... -auth-path: ./config/auth-redis.yml #The config file path should correspond to the auth-datasource pprof-enable: false #Whether to enable the performance analysis tool http://ip:6060 +auth: + way: 1 #Authentication way: 0 anonymous, 1 username and password, 2 clientid + datasource: 1 #Optional items:0 free、1 redis、2 mysql、3 postgresql、4 http ... + conf-path: ./config/auth-redis.yml #The config file path should correspond to the auth-datasource + mqtt: tcp: :1883 ws: :1882 @@ -61,4 +63,4 @@ log: level: 1 #-1Trace 0Debug 1Info 2Warn 3Error(default) 4Fatal 5Panic 6NoLevel 7Off sampler: #a maximum of three logs can be output every second burst: 3 #log count - period: 1 #second \ No newline at end of file + period: 1 #second