Web-UI KCenter konfiguriert
[demos/kafka/training] / docker / application.properties
1 # ----------------------------------------------
2 # MAIN APPLICATION CONFIG
3
4 # url and port where application is published
5 server.port=8080
6 public.url=http://localhost:8888
7
8 # enable/disable debug logging level
9 debug=false
10
11 # session timeout in seconds (21600 = 6 hours)
12 server.servlet.session.timeout=21600
13
14 # admin user/password to manage KafkaCenter
15 spring.security.user.name=juplo
16 spring.security.user.password=juplo
17
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
23
24
25 # ----------------------------------------------
26 # MONITOR
27
28 # enable/disable functionality
29 monitor.enable=true
30
31 # statistic collection frequency
32 monitor.collect.period.minutes=1
33
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=
39
40
41 # ----------------------------------------------
42 # ALERTS
43
44 # enable/disable functionality to send consumer group lag alerts
45 alert.enable=true
46
47 # url of alert service (leave empty for regular internal application)
48 alert.service=
49
50 # default time window and threshold 
51 alert.dispause=2
52
53 # default threshold
54 alert.threshold=1000
55
56 # environment variable included in alerts
57 alter.env=other
58
59
60 # ----------------------------------------------
61 # EMAILS
62
63 # enable/disable functionality to trigger emails for alerts
64 mail.enable=false
65
66 # configuration of external mail host
67 spring.mail.host=
68 spring.mail.username=KafkaCenter@xaecbd.com
69 #spring.mail.password=xxxix
70
71
72 # ----------------------------------------------
73 # KAFKA CONNECT
74
75 # url where kafka connect is installed
76 connect.url=http://connect:8083/#/
77
78
79 # ----------------------------------------------
80 # OAUTH2 KAFKACENTER LOGIN
81
82 # enable/disable functionality to log into application via external oauth service
83 generic.enabled=false
84
85 # name of service on login page
86 generic.name=oauth2 Login
87
88 # settings of external oauth service
89 generic.auth_url=
90 generic.token_url=
91 generic.redirect_utl=
92 generic.api_url=
93 generic.client_id=
94 generic.client_secret=
95 generic.scopes=
96
97
98 # ----------------------------------------------
99 # VARIOUS ADVANCED CONFIGS
100
101 # default kafka topic retention time
102 system.topic.ttl.h=16
103
104 # enable/disable default spring boot actuator health indicators
105 management.health.defaults.enabled=false
106
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
114
115 # mysql driver
116 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
117
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
121
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
126
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
131
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
135
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
139
140 # alert group api for alert
141 alert.alarm.group.api=