-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yaml
75 lines (72 loc) · 1.5 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
credentials:
users:
client:
password: 'secret'
roles: [super]
replicator:
password: 'secret'
roles: [replication]
storage:
password: 'secret'
roles: [sharding]
iproto:
advertise:
peer:
login: replicator
sharding:
login: storage
sharding:
bucket_count: 3000
groups:
storages:
roles: ['roles.sharded-queue-storage']
roles_cfg:
roles.sharded-queue-storage:
cfg:
metrics: true
tubes:
test_tube: {}
sharding:
roles: [storage]
replication:
failover: manual
replicasets:
storage-001:
leader: storage-001-a
instances:
storage-001-a:
iproto:
listen:
- uri: localhost:3302
storage-001-b:
iproto:
listen:
- uri: localhost:3303
storage-002:
leader: storage-002-a
instances:
storage-002-a:
iproto:
listen:
- uri: localhost:3304
storage-002-b:
iproto:
listen:
- uri: localhost:3305
routers:
roles: ['roles.sharded-queue-router']
roles_cfg:
roles.sharded-queue-router:
cfg:
metrics: true
app:
module: init
sharding:
roles: [router]
replicasets:
router-001:
instances:
router-001-a:
iproto:
listen:
- uri: localhost:3301