forked from uber/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
development_multiple_mysql.yaml
61 lines (59 loc) · 1.6 KB
/
development_multiple_mysql.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
persistence:
defaultStore: mysql-default
visibilityStore: "" # useMultipleDatabases must use advancedVisibilityStore only. Due to deep merging with development.yaml, this need to override to empty
advancedVisibilityStore: es-visibility
datastores:
mysql-default:
sql:
pluginName: "mysql"
connectProtocol: "tcp"
maxConns: 20
maxIdleConns: 20
maxConnLifetime: "1h"
useMultipleDatabases: true
nShards: 4
multipleDatabasesConfig:
- user: "root"
password: "cadence"
connectAddr: "127.0.0.1:3306"
databaseName: "cadence0"
- user: "root"
password: "cadence"
connectAddr: "127.0.0.1:3306"
databaseName: "cadence1"
- user: "root"
password: "cadence"
connectAddr: "127.0.0.1:3306"
databaseName: "cadence2"
- user: "root"
password: "cadence"
connectAddr: "127.0.0.1:3306"
databaseName: "cadence3"
es-visibility:
elasticsearch:
version: "v7"
url:
scheme: "http"
host: "127.0.0.1:9200"
indices:
visibility: cadence-visibility-dev
kafka:
tls:
enabled: false
clusters:
test:
brokers:
- 127.0.0.1:9092
topics:
cadence-visibility-dev:
cluster: test
cadence-visibility-dev-dlq:
cluster: test
applications:
visibility:
topic: cadence-visibility-dev
dlq-topic: cadence-visibility-dev-dlq
dynamicconfig:
client: filebased
filebased:
filepath: "config/dynamicconfig/development_es.yaml"