forked from temporalio/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.cassandra.yaml
More file actions
54 lines (52 loc) · 1.91 KB
/
values.cassandra.yaml
File metadata and controls
54 lines (52 loc) · 1.91 KB
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
# This is an example of using an external Cassandra database for Temporal persistence.
# Replace connection details with your Cassandra cluster information.
server:
config:
logLevel: "debug,info"
persistence:
defaultStore: default
visibilityStore: visibility
numHistoryShards: 512
datastores:
default:
cassandra:
hosts: "cassandra.default.svc.cluster.local" # or "host1,host2"
port: 9042
keyspace: temporal
user: "user"
password: "password"
# for a production deployment use this instead of `password` and provision the secret beforehand
# existingSecret: temporal-cassandra-secret
# secretKey: password
replicationFactor: 3
consistency:
default:
consistency: "local_quorum"
serialConsistency: "local_serial"
# faultInjection:
# targets:
# dataStores:
# ExecutionStore:
# methods:
# GetCurrentExecution:
# errors:
# ResourceExhausted: 0.1
# AppendHistoryNodes:
# errors:
# ResourceExhausted: 0.05
# UpdateWorkflowExecution:
# errors:
# ResourceExhausted: 0.15
# GetWorkflowExecution:
# errors:
# ResourceExhausted: 0.15
visibility:
# For visibility with Cassandra, use SQL or Elasticsearch
sql:
pluginName: mysql8
driverName: mysql8
databaseName: temporal_visibility
connectAddr: "mysql.example.com:3306"
# connectProtocol defaults to "tcp" if not specified
user: temporal
password: password