File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -38,3 +38,9 @@ Caddy server will proxy the traffic to the REST Proxy:
38
38
If your REST Proxy uses self-signed SSL certificates, you can use the
39
39
` PROXY_SKIP_VERIFY=true ` environment variable to instruct the proxy to
40
40
not verify the backend TLS certificate.
41
+
42
+ # Configuration options
43
+
44
+ You can control most of Kafka Topics UI settings via environment variables:
45
+ ` MAX_BYTES ` (default 50000), ` RECORD_POLL_TIMEOUT ` (default 2000),
46
+ ` DEBUG_LOGS_ENABLED ` (default true).
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
PROXY_SKIP_VERIFY=" ${PROXY_SKIP_VERIFY:- false} "
4
+ MAX_BYTES=" ${MAX_BYTES:- 50000} "
5
+ RECORD_POLL_TIMEOUT=" ${RECORD_POLL_TIMEOUT:- 2000} "
6
+ DEBUG_LOGS_ENABLED=" ${DEBUG_LOGS_ENABLED:- true} "
4
7
INSECURE_PROXY=" "
5
8
6
9
if echo " $PROXY_SKIP_VERIFY " | egrep -sq " true|TRUE|y|Y|yes|YES|1" ; then
@@ -28,9 +31,9 @@ var clusters = [
28
31
{
29
32
NAME:"default",
30
33
KAFKA_REST: "$KAFKA_REST_PROXY_URL ",
31
- MAX_BYTES: "50000 ",
32
- RECORD_POLL_TIMEOUT: "2000 ",
33
- DEBUG_LOGS_ENABLED: true
34
+ MAX_BYTES: "$MAX_BYTES ",
35
+ RECORD_POLL_TIMEOUT: "$RECORD_POLL_TIMEOUT ",
36
+ DEBUG_LOGS_ENABLED: $DEBUG_LOGS_ENABLED
34
37
}
35
38
]
36
39
EOF
You can’t perform that action at this time.
0 commit comments