forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_template_mysql.yaml
102 lines (93 loc) · 2.19 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
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"
clustersInfo:
enableGlobalDomain: false
failoverVersionIncrement: 10
masterClusterName: "active"
currentClusterName: "active"
clusterInitialFailoverVersion:
active: 0
clusterAddress:
active:
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