chore(queue): Support NATS as backend (#618)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2021-08-01 21:06:47 +08:00
committed by GitHub
parent 8d03ac5f1e
commit c51b4b2b65
6 changed files with 52 additions and 10 deletions

View File

@@ -50,11 +50,15 @@ huawei:
max_retry: 0 # resend fail notification, default value zero is disabled
queue:
engine: "local" # support "local", "nsq", default value is "local"
engine: "local" # support "local", "nsq" and "nats " default value is "local"
nsq:
addr: 127.0.0.1:4150
topic: gorush
channel: ch
channel: gorush
nats:
addr: 127.0.0.1:4222
subj: gorush
queue: gorush
ios:
enabled: false