Clean up dynamic configs (#108)

This commit is contained in:
Alex Shtin
2022-05-20 10:06:52 -07:00
committed by GitHub
parent 2f06380feb
commit 0c3417fb09
14 changed files with 13 additions and 160 deletions

View File

@@ -59,11 +59,11 @@ docker-compose -f docker-compose-mysql-es.yml up
Here is a list of available files and the dependencies they use.
| File | Description |
| ---------------------------------- | -------------------------------------- |
|------------------------------------| -------------------------------------- |
| docker-compose.yml | PostgreSQL and Elasticsearch (default) |
| docker-compose-postgres.yml | PostgreSQL |
| docker-compose-cas.yml | Cassandra |
| docker-compose-cas-es.yml | Cassandra and Elasticsearch |
| docker-compose-cass.yml | Cassandra |
| docker-compose-cass-es.yml | Cassandra and Elasticsearch |
| docker-compose-mysql.yml | MySQL |
| docker-compose-mysql-es.yml | MySQL and Elasticsearch |
| docker-compose-cockroach.yml | CockroachDB |

View File

@@ -29,7 +29,7 @@ services:
- elasticsearch
environment:
- CASSANDRA_SEEDS=cassandra
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_es.yaml
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_cass.yaml
- ENABLE_ES=true
- ES_SEEDS=elasticsearch
- ES_VERSION=v7

View File

@@ -13,7 +13,7 @@ services:
- cassandra
environment:
- CASSANDRA_SEEDS=cassandra
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development.yaml
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_cass.yaml
image: temporalio/auto-setup:${TEMPORAL_VERSION}
networks:
- temporal-network

View File

@@ -41,7 +41,7 @@ services:
- POSTGRES_USER=root
- POSTGRES_PWD=
- POSTGRES_SEEDS=postgres
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
- ENABLE_ES=true
- ES_SEEDS=elasticsearch
- ES_VERSION=v7

View File

@@ -34,7 +34,7 @@ services:
- MYSQL_USER=root
- MYSQL_PWD=root
- MYSQL_SEEDS=mysql
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
- ENABLE_ES=true
- ES_SEEDS=elasticsearch
- ES_VERSION=v7

View File

@@ -67,7 +67,7 @@ services:
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=postgresql
- SQL_TLS=true
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
- ENABLE_ES=true
- ES_SEEDS=elasticsearch
- ES_VERSION=v7

View File

@@ -36,7 +36,7 @@ services:
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=postgresql
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
- ENABLE_ES=true
- ES_SEEDS=elasticsearch
- ES_VERSION=v7

View File

@@ -1,4 +1,4 @@
Use `development.yaml` file to override the default dynamic config value (they are specified
Use `docker.yaml` file to override the default dynamic config value (they are specified
when creating the service config).
Each key can have zero or more values and each value can have zero or more

View File

@@ -1,36 +0,0 @@
frontend.enableClientVersionCheck:
- value: true
constraints: {}
history.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.historyMgrNumConns:
- value: 10
constraints: {}
frontend.throttledLogRPS:
- value: 20
constraints: {}
history.historyMgrNumConns:
- value: 50
constraints: {}
history.defaultActivityRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
history.defaultWorkflowRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
system.advancedVisibilityWritingMode:
- value: "off"
constraints: {}
system.forceSearchAttributesCacheRefreshOnRead:
- value: true # Dev setup only. Please don't turn this on in production.
constraints: {}

View File

@@ -0,0 +1,3 @@
system.forceSearchAttributesCacheRefreshOnRead:
- value: true # Dev setup only. Please don't turn this on in production.
constraints: {}

View File

@@ -1,39 +0,0 @@
frontend.enableClientVersionCheck:
- value: true
constraints: {}
history.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.historyMgrNumConns:
- value: 10
constraints: {}
frontend.throttledLogRPS:
- value: 20
constraints: {}
history.historyMgrNumConns:
- value: 50
constraints: {}
history.defaultActivityRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
history.defaultWorkflowRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
system.advancedVisibilityWritingMode:
- value: "on"
constraints: {}
system.enableReadVisibilityFromES:
- value: true
constraints: {}
system.forceSearchAttributesCacheRefreshOnRead:
- value: true # Dev setup only. Please don't turn this on in production.
constraints: {}

View File

@@ -1,36 +1,3 @@
frontend.enableClientVersionCheck:
- value: true
constraints: {}
history.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.historyMgrNumConns:
- value: 10
constraints: {}
frontend.throttledLogRPS:
- value: 20
constraints: {}
history.historyMgrNumConns:
- value: 50
constraints: {}
history.defaultActivityRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
history.defaultWorkflowRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
system.advancedVisibilityWritingMode:
- value: "off"
constraints: {}
limit.maxIDLength:
- value: 255
constraints: {}

View File

@@ -1,42 +0,0 @@
frontend.enableClientVersionCheck:
- value: true
constraints: {}
history.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.persistenceMaxQPS:
- value: 3000
constraints: {}
frontend.historyMgrNumConns:
- value: 10
constraints: {}
frontend.throttledLogRPS:
- value: 20
constraints: {}
history.historyMgrNumConns:
- value: 50
constraints: {}
history.defaultActivityRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
history.defaultWorkflowRetryPolicy:
- value:
InitialIntervalInSeconds: 1
MaximumIntervalCoefficient: 100.0
BackoffCoefficient: 2.0
MaximumAttempts: 0
system.advancedVisibilityWritingMode:
- value: "on"
constraints: {}
system.enableReadVisibilityFromES:
- value: true
constraints: {}
limit.maxIDLength:
- value: 255
constraints: {}
system.forceSearchAttributesCacheRefreshOnRead:
- value: true # Dev setup only. Please don't turn this on in production.
constraints: {}

View File