From 94304ce7176a65965d163fc0d395029c7e4294f5 Mon Sep 17 00:00:00 2001 From: Jeremy Lundy <16428663+jlundy2@users.noreply.github.com> Date: Fri, 8 Sep 2023 13:13:43 -0400 Subject: [PATCH] Update single.yml to align with config/conf.yml --- cmd/config/single.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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