forked from pravega/pravega
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 489: Standardize Controller Config (pravega#3406)
* Changes the Controller configuration to use the same approach as in the Segment Store. * Retires usage of com.typesafe along the way. Signed-off-by: Andrei Paduroiu <[email protected]>
- Loading branch information
1 parent
7de924f
commit 7b9fce6
Showing
24 changed files
with
410 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
### | ||
# Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
|
||
## Instructions for using this file: | ||
# 1. Settings are namespaced. The prefix indicates the component for which the configuration applies. | ||
# 2. All settings have default values hardcoded inside the code. The purpose of this file is to provide Environment Variable | ||
# references so that they may fetch values via such an indirection. | ||
# 3. Each of these settings can be overridden from the command like by specifying a Java System Property. | ||
# Example: setting 'controller.service.port' has a default value of 9090, but it can be overridden to a different | ||
# value via the command-line: | ||
# java -Dcontroller.service.port=5689 ... | ||
# which will set the value for that setting to 5689, regardless of what this file contains. | ||
|
||
|
||
controller.containerCount=${CONTAINER_COUNT} | ||
controller.hostMonitorEnabled=${HOST_MONITOR_ENABLE} | ||
controller.minRebalanceIntervalSeconds=${CLUSTER_MIN_REBALANCE_INTERVAL} | ||
controller.replyWithStackTraceOnError=${REPLY_WITH_STACK_TRACE_ON_ERROR} | ||
controller.requestTracingEnabled=${REQUEST_TRACING_ENABLED} | ||
controller.service.port=${CONTROLLER_SERVER_PORT} | ||
controller.service.asyncTaskPoolSize=${ASYNC_TASK_POOL_SIZE} | ||
controller.service.hostIp=${SERVICE_HOST_IP} | ||
controller.service.hostPort=${SERVICE_HOST_PORT} | ||
controller.service.publishedRPCHost=${CONTROLLER_RPC_PUBLISHED_HOST} | ||
controller.service.publishedRPCPort=${CONTROLLER_RPC_PUBLISHED_PORT} | ||
controller.service.cluster=${CLUSTER_NAME} | ||
controller.service.restIp=${REST_SERVER_IP} | ||
controller.service.restPort=${REST_SERVER_PORT} | ||
controller.auth.enabled=${AUTHORIZATION_ENABLED} | ||
controller.auth.userPasswordFile=${USER_PASSWORD_FILE} | ||
controller.auth.tlsEnabled=${TLS_ENABLED} | ||
controller.auth.tlsCertFile=${TLS_CERT_FILE} | ||
controller.auth.tlsTrustStore=${TLS_TRUST_STORE} | ||
controller.auth.tlsKeyFile=${TLS_KEY_FILE} | ||
controller.auth.tokenSigningKey=${TOKEN_SIGNING_KEY} | ||
controller.zk.url=${ZK_URL} | ||
controller.zk.retryIntervalMillis=${ZK_RETRY_SLEEP_MS} | ||
controller.zk.maxRetries=${ZK_MAX_RETRIES} | ||
controller.zk.sessionTimeoutMillis=${ZK_SESSION_TIMEOUT_MS} | ||
controller.zk.secureConnection=${SECURE_ZK} | ||
controller.retention.frequencyMinutes=${RETENTION_FREQUENCY_MINUTES} | ||
controller.retention.bucketCount=${BUCKET_COUNT} | ||
controller.retention.threadCount=${RETENTION_THREAD_POOL_SIZE} | ||
controller.transaction.minLeaseValue=${MIN_LEASE_VALUE} | ||
controller.transaction.maxLeaseValue=${MAX_LEASE_VALUE} | ||
controller.transaction.ttlHours=${COMPLETED_TXN_TTL_IN_HOURS} | ||
#controller.scale.streamName=_requeststream | ||
#controller.scale.readerGroup=scaleGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.