forked from uber/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_template_mysql.yaml
134 lines (121 loc) · 2.78 KB
/
config_template_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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
log:
stdout: true
level: "${LOG_LEVEL}"
persistence:
defaultStore: mysql-default
visibilityStore: mysql-visibility
numHistoryShards: ${NUM_HISTORY_SHARDS}
datastores:
mysql-default:
sql:
driverName: "mysql"
databaseName: "${DBNAME}"
connectAddr: "${MYSQL_SEEDS}:3306"
connectProtocol: "tcp"
user: "${MYSQL_USER}"
password: "${MYSQL_PWD}"
mysql-visibility:
sql:
driverName: "mysql"
databaseName: "${VISIBILITY_DBNAME}"
connectAddr: "${MYSQL_SEEDS}:3306"
connectProtocol: "tcp"
user: "${MYSQL_USER}"
password: "${MYSQL_PWD}"
ringpop:
name: cadence
bootstrapMode: hosts
bootstrapHosts: ${RINGPOP_SEEDS_JSON_ARRAY}
maxJoinDuration: 30s
services:
frontend:
rpc:
port: 7933
bindOnIP: ${BIND_ON_IP}
metrics:
statsd:
hostPort: "${STATSD_ENDPOINT}"
prefix: "cadence-frontend"
matching:
rpc:
port: 7935
bindOnIP: ${BIND_ON_IP}
metrics:
statsd:
hostPort: "${STATSD_ENDPOINT}"
prefix: "cadence-matching"
history:
rpc:
port: 7934
bindOnIP: ${BIND_ON_IP}
metrics:
statsd:
hostPort: "${STATSD_ENDPOINT}"
prefix: "cadence-history"
worker:
rpc:
port: 7939
bindOnIP: ${BIND_ON_IP}
metrics:
statsd:
hostPort: "${STATSD_ENDPOINT}"
prefix: "cadence-worker"
clusterMetadata:
enableGlobalDomain: false
failoverVersionIncrement: 10
masterClusterName: "active"
currentClusterName: "active"
clusterInformation:
active:
enabled: true
initialFailoverVersion: 0
rpcName: "cadence-frontend"
rpcAddress: "127.0.0.1:7933"
dcRedirectionPolicy:
policy: "noop"
toDC: ""
archival:
status: "enabled"
enableReadFromArchival: true
defaultBucket: "cadence-development"
filestore:
storeDirectory: "/tmp/development/blobstore/"
defaultBucket:
name: "cadence-development"
owner: "cadence"
retentionDays: 10
customBuckets:
- name: "custom-bucket-1"
owner: "custom-owner-1"
retentionDays: 10
- name: "custom-bucket-2"
owner: "custom-owner-2"
retentionDays: 5
kafka:
tls:
enabled: false
clusters:
test:
brokers:
- ${KAFKA_SEEDS}: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
elasticsearch:
enable: false
url:
scheme: "http"
host: "${ES_SEEDS}:9200"
indices:
visibility: cadence-visibility-dev
publicClient:
hostPort: ${BIND_ON_IP}:7933
dynamicConfigClient:
filepath: ${DYNAMIC_CONFIG_FILE_PATH}
pollInterval: "60s"