mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
1.MongoDB、Redis兼容集群模式
2.离线数据接口化访问
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
http: 8222
|
||||
|
||||
server_name: nats1
|
||||
listen: 4222
|
||||
|
||||
max_payload: 5120KB
|
||||
|
||||
cluster {
|
||||
name: nats-cluster
|
||||
listen: 6222
|
||||
routes: [
|
||||
nats-route://nats2:6222
|
||||
nats-route://nats3:6222
|
||||
]
|
||||
}
|
||||
|
||||
jetstream: enable
|
||||
|
||||
jetstream {
|
||||
store_dir: /nats/storage
|
||||
max_mem: 1G
|
||||
max_file: 10G
|
||||
}
|
||||
Reference in New Issue
Block a user