forked from confluentinc/jmx-monitoring-stacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.local.yaml
71 lines (65 loc) · 2.8 KB
/
docker-compose.local.yaml
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
version: "2.3"
services:
zookeeper:
ports:
- 49900:1234
- 49901:1235
environment:
EXTRA_ARGS:
-javaagent:/usr/share/jmx-exporter/jmx_prometheus_javaagent-0.16.1.jar=1234:/usr/share/jmx-exporter/zookeeper.yml
-javaagent:/usr/share/jmx-exporter/jolokia-jvm-1.7.1.jar=port=1235,host=*
-Djava.util.logging.config.file=/usr/share/jmx-exporter/exporter_debug_logging.properties
kafka1:
ports:
- 49910:1234
- 49911:1235
environment:
EXTRA_ARGS:
-javaagent:/usr/share/jmx-exporter/jmx_prometheus_javaagent-0.16.1.jar=1234:/usr/share/jmx-exporter/kafka_broker.yml
-javaagent:/usr/share/jmx-exporter/jolokia-jvm-1.7.1.jar=port=1235,host=*
-Djava.util.logging.config.file=/usr/share/jmx-exporter/exporter_debug_logging.properties
kafka2:
ports:
- 49920:1234
- 49921:1235
environment:
EXTRA_ARGS:
-javaagent:/usr/share/jmx-exporter/jmx_prometheus_javaagent-0.16.1.jar=1234:/usr/share/jmx-exporter/kafka_broker.yml
-javaagent:/usr/share/jmx-exporter/jolokia-jvm-1.7.1.jar=port=1235,host=*
-Djava.util.logging.config.file=/usr/share/jmx-exporter/exporter_debug_logging.properties
connect:
ports:
- 49930:1234
- 49931:1235
environment:
EXTRA_ARGS:
-javaagent:/usr/share/jmx-exporter/jmx_prometheus_javaagent-0.16.1.jar=1234:/usr/share/jmx-exporter/kafka_connect.yml
-javaagent:/usr/share/jmx-exporter/jolokia-jvm-1.7.1.jar=port=1235,host=*
-Djava.util.logging.config.file=/usr/share/jmx-exporter/exporter_debug_logging.properties
schemaregistry:
ports:
- 49940:1234
- 49941:1235
environment:
EXTRA_ARGS:
-javaagent:/usr/share/jmx-exporter/jmx_prometheus_javaagent-0.16.1.jar=1234:/usr/share/jmx-exporter/confluent_schemaregistry.yml
-javaagent:/usr/share/jmx-exporter/jolokia-jvm-1.7.1.jar=port=1235,host=*
-Djava.util.logging.config.file=/usr/share/jmx-exporter/exporter_debug_logging.properties
ksqldb-server:
ports:
- 49950:1234
- 49951:1235
environment:
KSQL_OPTS:
-javaagent:/usr/share/jmx-exporter/jmx_prometheus_javaagent-0.16.1.jar=1234:/usr/share/jmx-exporter/confluent_ksql.yml
-javaagent:/usr/share/jmx-exporter/jolokia-jvm-1.7.1.jar=port=1235,host=*
-Djava.util.logging.config.file=/usr/share/jmx-exporter/exporter_debug_logging.properties
restproxy:
ports:
- 49960:1234
- 49961:1235
environment:
KAFKAREST_OPTS:
-javaagent:/usr/share/jmx-exporter/jmx_prometheus_javaagent-0.16.1.jar=1234:/usr/share/jmx-exporter/confluent_rest.yml
-javaagent:/usr/share/jmx-exporter/jolokia-jvm-1.7.1.jar=port=1235,host=*
-Djava.util.logging.config.file=/usr/share/jmx-exporter/exporter_debug_logging.properties