Files
hk4e/docker/3rd/nats/nats_cluster/conf/nats3/nats-server.conf
flswld 0395dc0bc2 1.MongoDB、Redis兼容集群模式
2.离线数据接口化访问
2023-02-26 23:03:13 +08:00

24 lines
277 B
Plaintext

http: 8222
server_name: nats3
listen: 4222
max_payload: 5120KB
cluster {
name: nats-cluster
listen: 6222
routes: [
nats-route://nats1:6222
nats-route://nats2:6222
]
}
jetstream: enable
jetstream {
store_dir: /nats/storage
max_mem: 1G
max_file: 10G
}