-
Notifications
You must be signed in to change notification settings - Fork 196
/
application.properties
141 lines (100 loc) · 3.88 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# ----------------------------------------------
# MAIN APPLICATION CONFIG
# url and port where application is published
server.port=8080
public.url=http://localhost:8080
# enable/disable debug logging level
debug=false
# session timeout in seconds (21600 = 6 hours)
server.servlet.session.timeout=21600
# admin user/password to manage KafkaCenter
spring.security.user.name=admin
spring.security.user.password=admin
# url and user/password for mysql database
# if remote, make sure the user has adequate privileges (google "mysql grant privileges")
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/kafka_center?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=123456
# ----------------------------------------------
# MONITOR
# enable/disable functionality
monitor.enable=true
# statistic collection frequency
monitor.collect.period.minutes=5
# elasticsearch config
monitor.elasticsearch.hosts=localhost:9200
monitor.elasticsearch.index=kafka_center_monitor
#monitor.elasticsearch.auth.user=
#monitor.elasticsearch.auth.password=
# ----------------------------------------------
# ALERTS
# enable/disable functionality to send consumer group lag alerts
alert.enable=false
# url of alert service (leave empty for regular internal application)
alert.service=
# default time window and threshold
alert.dispause=2
# default threshold
alert.threshold=1000
# environment variable included in alerts
alter.env=other
# ----------------------------------------------
# EMAILS
# enable/disable functionality to trigger emails for alerts
mail.enable=false
# configuration of external mail host
spring.mail.host=
#spring.mail.password=xxxix
# ----------------------------------------------
# KAFKA CONNECT
# url where kafka connect is installed
connect.url=http://localhost:8000/#/
# ----------------------------------------------
# OAUTH2 KAFKACENTER LOGIN
# enable/disable functionality to log into application via external oauth service
generic.enabled=false
# name of service on login page
generic.name=oauth2 Login
# settings of external oauth service
generic.auth_url=
generic.token_url=
generic.redirect_utl=
generic.api_url=
generic.client_id=
generic.client_secret=
generic.scopes=
# ----------------------------------------------
# VARIOUS ADVANCED CONFIGS
# default kafka topic retention time
system.topic.ttl.h=16
# enable/disable default spring boot actuator health indicators
management.health.defaults.enabled=false
# hikari connection pool configurations
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.minimum-idle=5
spring.datasource.hikari.maximum-pool-size=15
spring.datasource.hikari.pool-name=KafkaCenterHikariCP
spring.datasource.hikari.max-lifetime=30000
spring.datasource.hikari.connection-test-query=SELECT 1
# mysql driver
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# enable/disable collecting list of kafka topics regularly, and set interval of collection
collect.topic.enable=true
collect.topic.period.minutes=10
# enable/disable that collection threads only collect metrics of certain cluster locations
# the location specified must be one of remote.locations below
monitor.collector.include.enable=false
monitor.collector.include.location=dev
# enable remote querying to improve lag collection behaviour, solving problems induced by latency between different locations
remote.query.enable=false
remote.hosts=gqc@localhost2:8080
remote.locations=dev,gqc
# enable/disable collecting list of ksql job regularly, and set interval of collection
collect.ksql.info.job.enable=false
collect.ksql.info.job.period.minutes=5
# enable/disable collecting list of connector job regularly, and set interval of collection
collect.connector.job.enable=false
collect.connector.job.period.minutes=4
# alert group api for alert
alert.alarm.group.api=