1 # ----------------------------------------------
2 # MAIN APPLICATION CONFIG
4 # url and port where application is published
6 public.url=http://localhost:8888
8 # enable/disable debug logging level
11 # session timeout in seconds (21600 = 6 hours)
12 server.servlet.session.timeout=21600
14 # admin user/password to manage KafkaCenter
15 spring.security.user.name=juplo
16 spring.security.user.password=juplo
18 # url and user/password for mysql database
19 # if remote, make sure the user has adequate privileges (google "mysql grant privileges")
20 spring.datasource.url=jdbc:mysql://mariadb:3306/kafka_center?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
21 spring.datasource.username=root
22 spring.datasource.password=juplo
25 # ----------------------------------------------
28 # enable/disable functionality
31 # statistic collection frequency
32 monitor.collect.period.minutes=1
34 # elasticsearch config
35 monitor.elasticsearch.hosts=elasticsearch:9200
36 monitor.elasticsearch.index=kafka_center_monitor
37 #monitor.elasticsearch.auth.user=
38 #monitor.elasticsearch.auth.password=
41 # ----------------------------------------------
44 # enable/disable functionality to send consumer group lag alerts
47 # url of alert service (leave empty for regular internal application)
50 # default time window and threshold
56 # environment variable included in alerts
60 # ----------------------------------------------
63 # enable/disable functionality to trigger emails for alerts
66 # configuration of external mail host
68 spring.mail.username=KafkaCenter@xaecbd.com
69 #spring.mail.password=xxxix
72 # ----------------------------------------------
75 # url where kafka connect is installed
76 connect.url=http://connect:8083/#/
79 # ----------------------------------------------
80 # OAUTH2 KAFKACENTER LOGIN
82 # enable/disable functionality to log into application via external oauth service
85 # name of service on login page
86 generic.name=oauth2 Login
88 # settings of external oauth service
94 generic.client_secret=
98 # ----------------------------------------------
99 # VARIOUS ADVANCED CONFIGS
101 # default kafka topic retention time
102 system.topic.ttl.h=16
104 # enable/disable default spring boot actuator health indicators
105 management.health.defaults.enabled=false
107 # hikari connection pool configurations
108 spring.datasource.type=com.zaxxer.hikari.HikariDataSource
109 spring.datasource.hikari.minimum-idle=5
110 spring.datasource.hikari.maximum-pool-size=15
111 spring.datasource.hikari.pool-name=KafkaCenterHikariCP
112 spring.datasource.hikari.max-lifetime=30000
113 spring.datasource.hikari.connection-test-query=SELECT 1
116 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
118 # enable/disable collecting list of kafka topics regularly, and set interval of collection
119 collect.topic.enable=true
120 collect.topic.period.minutes=10
122 # enable/disable that collection threads only collect metrics of certain cluster locations
123 # the location specified must be one of remote.locations below
124 monitor.collector.include.enable=false
125 monitor.collector.include.location=dev
127 # enable remote querying to improve lag collection behaviour, solving problems induced by latency between different locations
128 remote.query.enable=false
129 remote.hosts=gqc@localhost2:8080
130 remote.locations=dev,gqc
132 # enable/disable collecting list of ksql job regularly, and set interval of collection
133 collect.ksql.info.job.enable=false
134 collect.ksql.info.job.period.minutes=5
136 # enable/disable collecting list of connector job regularly, and set interval of collection
137 collect.connector.job.enable=false
138 collect.connector.job.period.minutes=4
140 # alert group api for alert
141 alert.alarm.group.api=