summarylogtreecommitdiffstats
path: root/kafka-manager.conf
diff options
context:
space:
mode:
Diffstat (limited to 'kafka-manager.conf')
-rw-r--r--kafka-manager.conf53
1 files changed, 40 insertions, 13 deletions
diff --git a/kafka-manager.conf b/kafka-manager.conf
index c8819a7d4d08..8ee6c61e4a0e 100644
--- a/kafka-manager.conf
+++ b/kafka-manager.conf
@@ -8,37 +8,64 @@
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
-
-# CAUTION:
-# "Anyone that can get access to the secret will be able to generate any session they please,
-# effectively allowing them to log in to your system as any user they please. Hence it is
-# strongly recommended that you do not check your application secret into source control."
-# Source: https://www.playframework.com/documentation/2.5.x/ApplicationSecret
-
play.crypto.secret="^<csmm5Fx4d=r2HEX8pelM3iBkFVv?k[mc;IZE<_Qoq8EkX_/7@Zt6dP05Pzea3U"
play.crypto.secret=${?APPLICATION_SECRET}
+play.http.session.maxAge="1h"
# The application languages
# ~~~~~
play.i18n.langs=["en"]
play.http.requestHandler = "play.http.DefaultHttpRequestHandler"
-
+play.http.context = "/"
play.application.loader=loader.KafkaManagerLoader
-kafka-manager.zkhosts="localhost:2181"
-kafka-manager.zkhosts=${?ZK_HOSTS}
+cmak.zkhosts="localhost:2181"
+cmak.zkhosts=${?ZK_HOSTS}
+
pinned-dispatcher.type="PinnedDispatcher"
pinned-dispatcher.executor="thread-pool-executor"
-application.features=["KMClusterManagerFeature","KMTopicManagerFeature","KMPreferredReplicaElectionFeature","KMReassignPartitionsFeature"]
+application.features=["KMClusterManagerFeature","KMTopicManagerFeature","KMPreferredReplicaElectionFeature","KMReassignPartitionsFeature", "KMScheduleLeaderElectionFeature"]
akka {
- loggers = ["akka.event.slf4j.Slf4jLogger"]
- loglevel = "INFO"
+ loggers = ["akka.event.slf4j.Slf4jLogger"]
+ loglevel = "INFO"
}
+akka.logger-startup-timeout = 60s
+
basicAuthentication.enabled=false
+basicAuthentication.enabled=${?KAFKA_MANAGER_AUTH_ENABLED}
+
+basicAuthentication.ldap.enabled=false
+basicAuthentication.ldap.enabled=${?KAFKA_MANAGER_LDAP_ENABLED}
+basicAuthentication.ldap.server=""
+basicAuthentication.ldap.server=${?KAFKA_MANAGER_LDAP_SERVER}
+basicAuthentication.ldap.port=389
+basicAuthentication.ldap.port=${?KAFKA_MANAGER_LDAP_PORT}
+basicAuthentication.ldap.username=""
+basicAuthentication.ldap.username=${?KAFKA_MANAGER_LDAP_USERNAME}
+basicAuthentication.ldap.password=""
+basicAuthentication.ldap.password=${?KAFKA_MANAGER_LDAP_PASSWORD}
+basicAuthentication.ldap.search-base-dn=""
+basicAuthentication.ldap.search-base-dn=${?KAFKA_MANAGER_LDAP_SEARCH_BASE_DN}
+basicAuthentication.ldap.search-filter="(uid=$capturedLogin$)"
+basicAuthentication.ldap.search-filter=${?KAFKA_MANAGER_LDAP_SEARCH_FILTER}
+basicAuthentication.ldap.group-filter=""
+basicAuthentication.ldap.group-filter=${?KAFKA_MANAGER_LDAP_GROUP_FILTER}
+basicAuthentication.ldap.connection-pool-size=10
+basicAuthentication.ldap.connection-pool-size=${?KAFKA_MANAGER_LDAP_CONNECTION_POOL_SIZE}
+basicAuthentication.ldap.ssl=false
+basicAuthentication.ldap.ssl=${?KAFKA_MANAGER_LDAP_SSL}
+
basicAuthentication.username="admin"
+basicAuthentication.username=${?KAFKA_MANAGER_USERNAME}
basicAuthentication.password="password"
+basicAuthentication.password=${?KAFKA_MANAGER_PASSWORD}
+
basicAuthentication.realm="Kafka-Manager"
+basicAuthentication.excluded=["/api/health"] # ping the health of your instance without authentification
+
+
+kafka-manager.consumer.properties.file=${?CONSUMER_PROPERTIES_FILE}