Skip to content

Instantly share code, notes, and snippets.

@sebholstein
Created October 4, 2019 09:02

Revisions

  1. sebholstein created this gist Oct 4, 2019.
    120 changes: 120 additions & 0 deletions base.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,120 @@
    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"