Skip to content

Instantly share code, notes, and snippets.

@sebholstein
Created October 4, 2019 09:02
Show Gist options
  • Save sebholstein/5b77a83f07c4bc51a75b2cdc4a8e132f to your computer and use it in GitHub Desktop.
Save sebholstein/5b77a83f07c4bc51a75b2cdc4a8e132f to your computer and use it in GitHub Desktop.
cadance base.yaml postgres
log:
stdout: true
level: info
persistence:
defaultStore: postgres
visibilityStore: postgres
numHistoryShards: 4
datastores:
postgres:
sql:
driverName: postgres
databaseName: "xxx"
connectAddr: "127.0.0.1:5432"
connectProtocol: "tcp"
user: "xxx"
password: "xxx"
maxConns: 10
maxIdleConns: 5
maxConnLifetime: "1m"
ringpop:
name: cadence
bootstrapMode: hosts
bootstrapHosts: ["127.0.0.1:7933"]
maxJoinDuration: 30s
services:
frontend:
rpc:
port: 7933
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "cadence"
pprof:
port: 7936
matching:
rpc:
port: 7935
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "cadence"
pprof:
port: 7938
history:
rpc:
port: 7934
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "cadence"
pprof:
port: 7937
worker:
rpc:
port: 7939
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "cadence"
pprof:
port: 7940
clusterMetadata:
enableGlobalDomain: false
failoverVersionIncrement: 10
masterClusterName: "active"
currentClusterName: "active"
clusterInformation:
active:
enabled: true
initialFailoverVersion: 0
rpcName: "cadence-frontend"
rpcAddress: "localhost:7933"
dcRedirectionPolicy:
policy: "noop"
toDC: ""
archival:
history:
status: "enabled"
enableRead: true
provider:
filestore:
fileMode: "0666"
dirMode: "0766"
visibility:
status: "disabled"
enableRead: false
domainDefaults:
archival:
history:
status: "disabled"
URI: "file:///tmp/cadence_archival/development"
visibility:
status: "disabled"
kafka:
clusters:
test:
brokers:
- 127.0.0.1:9092
topics:
cadence-visibility-dev:
cluster: test
cadence-visibility-dev-dlq:
cluster: test
publicClient:
hostPort: "localhost:7933"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment