@@ -169,7 +169,7 @@ data:
169
169
# =======================================
170
170
171
171
# The zookeeper connect of the Kafka cluster
172
- zookeeper.connect=zookeeper:2181
172
+ zookeeper.connect=zookeeper:2181/
173
173
174
174
# The max number of partitions to move in/out on a given broker at a given time.
175
175
num.concurrent.partition.movements.per.broker=10
@@ -196,6 +196,9 @@ data:
196
196
# The interested metrics for metric anomaly analyzer.
197
197
metric.anomaly.analyzer.metrics=BROKER_PRODUCE_LOCAL_TIME_MS_MAX,BROKER_PRODUCE_LOCAL_TIME_MS_MEAN,BROKER_CONSUMER_FETCH_LOCAL_TIME_MS_MAX,BROKER_CONSUMER_FETCH_LOCAL_TIME_MS_MEAN,BROKER_FOLLOWER_FETCH_LOCAL_TIME_MS_MAX,BROKER_FOLLOWER_FETCH_LOCAL_TIME_MS_MEAN,BROKER_LOG_FLUSH_TIME_MS_MAX,BROKER_LOG_FLUSH_TIME_MS_MEAN
198
198
199
+ ## Adjust accordingly if your metrics reporter is an older version and does not produce these metrics.
200
+ #metric.anomaly.analyzer.metrics=BROKER_PRODUCE_LOCAL_TIME_MS_50TH,BROKER_PRODUCE_LOCAL_TIME_MS_999TH,BROKER_CONSUMER_FETCH_LOCAL_TIME_MS_50TH,BROKER_CONSUMER_FETCH_LOCAL_TIME_MS_999TH,BROKER_FOLLOWER_FETCH_LOCAL_TIME_MS_50TH,BROKER_FOLLOWER_FETCH_LOCAL_TIME_MS_999TH,BROKER_LOG_FLUSH_TIME_MS_50TH,BROKER_LOG_FLUSH_TIME_MS_999TH
201
+
199
202
# The zk path to store failed broker information.
200
203
failed.brokers.zk.path=/CruiseControlBrokerList
201
204
@@ -205,8 +208,20 @@ data:
205
208
# The cluster configurations for the KafkaTopicConfigProvider
206
209
cluster.configs.file=config/clusterConfigs.json
207
210
211
+ # The maximum time in milliseconds to store the response and access details of a completed user task.
212
+ completed.user.task.retention.time.ms=21600000
213
+
214
+ # The maximum time in milliseconds to retain the demotion history of brokers.
215
+ demotion.history.retention.time.ms=86400000
216
+
217
+ # The maximum number of completed user tasks for which the response and access details will be cached.
218
+ max.cached.completed.user.tasks=100
219
+
220
+ # The maximum number of user tasks for concurrently running in async endpoints across all users.
221
+ max.active.user.tasks=5
222
+
208
223
# Enable self healing for all anomaly detectors, unless the particular anomaly detector is explicitly disabled
209
- self.healing.enabled=true
224
+ self.healing.enabled=false
210
225
211
226
# Enable self healing for broker failure detector
212
227
#self.healing.broker.failure.enabled=true
@@ -217,6 +232,61 @@ data:
217
232
# Enable self healing for metric anomaly detector
218
233
#self.healing.metric.anomaly.enabled=true
219
234
235
+
236
+ # configurations for the webserver
237
+ # ================================
238
+
239
+ # HTTP listen port
240
+ webserver.http.port=9090
241
+
242
+ # HTTP listen address
243
+ webserver.http.address=0.0.0.0
244
+
245
+ # Whether CORS support is enabled for API or not
246
+ webserver.http.cors.enabled=false
247
+
248
+ # Value for Access-Control-Allow-Origin
249
+ webserver.http.cors.origin=http://localhost:8080/
250
+
251
+ # Value for Access-Control-Request-Method
252
+ webserver.http.cors.allowmethods=OPTIONS,GET,POST
253
+
254
+ # Headers that should be exposed to the Browser (Webapp)
255
+ # This is a special header that is used by the
256
+ # User Tasks subsystem and should be explicitly
257
+ # Enabled when CORS mode is used as part of the
258
+ # Admin Interface
259
+ webserver.http.cors.exposeheaders=User-Task-ID
260
+
261
+ # REST API default prefix
262
+ # (dont forget the ending *)
263
+ webserver.api.urlprefix=/kafkacruisecontrol/*
264
+
265
+ # Location where the Cruise Control frontend is deployed
266
+ webserver.ui.diskpath=./cruise-control-ui/dist/
267
+
268
+ # URL path prefix for UI
269
+ # (dont forget the ending *)
270
+ webserver.ui.urlprefix=/*
271
+
272
+ # Time After which request is converted to Async
273
+ webserver.request.maxBlockTimeMs=10000
274
+
275
+ # Default Session Expiry Period
276
+ webserver.session.maxExpiryTimeMs=60000
277
+
278
+ # Session cookie path
279
+ webserver.session.path=/
280
+
281
+ # Server Access Logs
282
+ webserver.accesslog.enabled=true
283
+
284
+ # Location of HTTP Request Logs
285
+ webserver.accesslog.path=access.log
286
+
287
+ # HTTP Request Log retention days
288
+ webserver.accesslog.retention.days=14
289
+
220
290
capacityJBOD.json : |-
221
291
{
222
292
"brokerCapacities":[
0 commit comments