mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
- rm config/ (cassandra/mysql/postgres/dual-cluster fork yamls)
- rm develop/ (fork docker-compose / grafana / temporalio-dashboards submodule)
- rm docs/{admin,architecture,development,_assets,ui-screenshots,Makefile,README.md,worker-versioning.md}
(kept docs/red-review-zap-sdk.md — pkg/sdk port review)
- rm k8s/{configmap.yaml,init-db.yaml,kms-secrets.yaml} (dynamic config + Postgres init for fork)
- rm .gitmodules (was: temporalio-dashboards Grafana, gone)
- Dockerfile: 27 lines, no CGO, no SQLite driver, exposes :9999 (ZAP) + :7243 (HTTP)
- Makefile: 30 lines, just build/ui/run/vet/test/tidy/clean
- k8s/deployment.yaml: single Deployment, single Service, single Ingress, /healthz probes
- k8s/kustomization.yaml: 2 resources (deployment + ingress)
Binary: 6.65 MB (-trimpath -ldflags="-s -w"), RSS 13 MB, boots <1s, all probes 200.
120 lines
2.7 KiB
YAML
120 lines
2.7 KiB
YAML
log:
|
|
stdout: true
|
|
level: info
|
|
|
|
persistence:
|
|
defaultStore: cass-default
|
|
visibilityStore: es-visibility
|
|
numHistoryShards: 32
|
|
datastores:
|
|
cass-default:
|
|
cassandra:
|
|
hosts: "127.0.0.1"
|
|
keyspace: "temporal_cluster_a"
|
|
es-visibility:
|
|
elasticsearch:
|
|
version: "v7"
|
|
logLevel: "error"
|
|
url:
|
|
scheme: "http"
|
|
host: "127.0.0.1:9200"
|
|
indices:
|
|
visibility: temporal_visibility_v1_dev_cluster_a
|
|
# secondary_visibility: temporal_visibility_v2_dev
|
|
closeIdleConnectionsInterval: 15s
|
|
global:
|
|
membership:
|
|
maxJoinDuration: 30s
|
|
broadcastAddress: "127.0.0.1"
|
|
pprof:
|
|
port: 7936
|
|
metrics:
|
|
prometheus:
|
|
framework: "opentelemetry"
|
|
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: 7940
|
|
membershipPort: 6940
|
|
bindOnLocalHost: true
|
|
|
|
clusterMetadata:
|
|
enableGlobalNamespace: true
|
|
failoverVersionIncrement: 100
|
|
masterClusterName: "cluster-a"
|
|
currentClusterName: "cluster-a"
|
|
clusterInformation:
|
|
cluster-a:
|
|
enabled: true
|
|
initialFailoverVersion: 1
|
|
rpcName: "frontend"
|
|
rpcAddress: "localhost:7233"
|
|
# Use temporal --address 127.0.0.1:7233 operator cluster upsert --frontend-address "127.0.0.1:8233 --enable-connection --enable-replication"
|
|
# cluster-b:
|
|
# enabled: true
|
|
# initialFailoverVersion: 2
|
|
# rpcName: "frontend"
|
|
# rpcAddress: "localhost:8233"
|
|
# Use temporal --address 127.0.0.1:7233 operator cluster upsert --frontend-address "127.0.0.1:9233 --enable-connection --enable-replication"
|
|
# cluster-c:
|
|
# enabled: false
|
|
# initialFailoverVersion: 3
|
|
# rpcName: "frontend"
|
|
# rpcAddress: "localhost:9233"
|
|
|
|
dcRedirectionPolicy:
|
|
policy: "all-apis-forwarding"
|
|
|
|
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-xdc.yaml"
|
|
pollInterval: "10s"
|