mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed? Adds and integrates `yamlfmt` (Go-based, by Google). Anything not annotated was changed by `yamlfmt`. ## Why? Consistent YAML formatting. Reduce unrelated diffs caused by formatting in PRs. ## How did you test it? - [ ] built - [ ] run locally and tested manually - [x] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)
122 lines
2.6 KiB
YAML
122 lines
2.6 KiB
YAML
log:
|
|
stdout: true
|
|
level: info
|
|
|
|
persistence:
|
|
defaultStore: cass-default
|
|
visibilityStore: es-visibility
|
|
secondaryVisibilityStore: secondary-es-visibility
|
|
numHistoryShards: 4
|
|
datastores:
|
|
cass-default:
|
|
cassandra:
|
|
hosts: "127.0.0.1"
|
|
keyspace: "temporal"
|
|
es-visibility:
|
|
elasticsearch:
|
|
version: "v7"
|
|
logLevel: "error"
|
|
url:
|
|
scheme: "http"
|
|
host: "127.0.0.1:9200"
|
|
indices:
|
|
visibility: temporal_visibility_v1_dev
|
|
closeIdleConnectionsInterval: 15s
|
|
secondary-es-visibility:
|
|
customDatastore:
|
|
name: "elasticsearch"
|
|
options:
|
|
version: "v7"
|
|
logLevel: "error"
|
|
urls:
|
|
- scheme: "http"
|
|
host: "127.0.0.1:9200"
|
|
indices:
|
|
visibility: temporal_visibility_v1_secondary
|
|
|
|
global:
|
|
membership:
|
|
maxJoinDuration: 30s
|
|
broadcastAddress: "127.0.0.1"
|
|
pprof:
|
|
port: 7936
|
|
metrics:
|
|
prometheus:
|
|
# specify framework to use new approach for initializing metrics and/or use opentelemetry
|
|
# framework: "opentelemetry"
|
|
framework: "tally"
|
|
timerType: "histogram"
|
|
listenAddress: "127.0.0.1:8000"
|
|
|
|
services:
|
|
frontend:
|
|
rpc:
|
|
grpcPort: 7233
|
|
membershipPort: 6933
|
|
bindOnLocalHost: true
|
|
httpPort: 7243
|
|
|
|
matching:
|
|
rpc:
|
|
grpcPort: 7235
|
|
membershipPort: 6935
|
|
bindOnLocalHost: true
|
|
|
|
history:
|
|
rpc:
|
|
grpcPort: 7234
|
|
membershipPort: 6934
|
|
bindOnLocalHost: true
|
|
|
|
worker:
|
|
rpc:
|
|
grpcPort: 7239
|
|
membershipPort: 6939
|
|
bindOnLocalHost: true
|
|
|
|
clusterMetadata:
|
|
enableGlobalNamespace: false
|
|
failoverVersionIncrement: 10
|
|
masterClusterName: "active"
|
|
currentClusterName: "active"
|
|
clusterInformation:
|
|
active:
|
|
enabled: true
|
|
initialFailoverVersion: 1
|
|
rpcName: "frontend"
|
|
rpcAddress: "localhost:7233"
|
|
|
|
dcRedirectionPolicy:
|
|
policy: "noop"
|
|
|
|
archival:
|
|
history:
|
|
state: "enabled"
|
|
enableRead: true
|
|
provider:
|
|
filestore:
|
|
fileMode: "0666"
|
|
dirMode: "0766"
|
|
gstorage:
|
|
credentialsPath: "/tmp/gcloud/keyfile.json"
|
|
visibility:
|
|
state: "enabled"
|
|
enableRead: true
|
|
provider:
|
|
filestore:
|
|
fileMode: "0666"
|
|
dirMode: "0766"
|
|
|
|
namespaceDefaults:
|
|
archival:
|
|
history:
|
|
state: "disabled"
|
|
URI: "file:///tmp/temporal_archival/development"
|
|
visibility:
|
|
state: "disabled"
|
|
URI: "file:///tmp/temporal_vis_archival/development"
|
|
|
|
dynamicConfigClient:
|
|
filepath: "config/dynamicconfig/development-cass.yaml"
|
|
pollInterval: "10s"
|