Skip to content

Commit

Permalink
Merge pull request #71 from litmusautomation/main
Browse files Browse the repository at this point in the history
Update single.yml to align with config/conf.yml
  • Loading branch information
wind-c authored Sep 9, 2023
2 parents 87716f6 + 94304ce commit 413358a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cmd/config/single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
period: 1 #second

0 comments on commit 413358a

Please sign in to comment.