You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can downland the latest release from [here](https://github.com/omarsmak/kafka-consumer-lag-monitoring/releases).This client requires at least Java 8 in order to run, soon it will be available as a Docker image.
14
+
## Installation and Usage
15
+
#### Uber JAR
16
+
You can downland the latest release of the Uber JAR from [here](https://github.com/omarsmak/kafka-consumer-lag-monitoring/releases).This client requires at least Java 8 in order to run. You can run it like this for example:
This client is available as well in [docker hub](https://cloud.docker.com/u/omarsmak/repository/docker/omarsmak/kafka-consumer-lag-monitoring), the docker image is built on top of Java 11 JRE image and optimized to run in container orchestration frameworks
23
+
such as kubernetes as efficient as possible. Assuming you want to run it locally and you have docker daemon installed, you can run it like this for example:
Please note the above command will run a docker container with exposed and mapped port of `9000`, in order to expose the HTTP server for prometheus metrics.
28
+
However, if you change the client's HTTP port through the client's startup arguments (`--http.port`) as described below, you will need to change the docker port mapping accordingly to reflect your settings.
16
29
17
30
## Usage
18
31
java -jar kafka-consumer-lag-monitoring.jar -h
@@ -29,7 +42,7 @@ You can downland the latest release from [here](https://github.com/omarsmak/kafk
29
42
Interval delay in ms to that refreshes the client lag
30
43
metrics, default to 2000ms
31
44
-m, --mode=<clientMode> Mode to run client, possible values 'console' or
32
-
'prometheus, default to 'console'
45
+
'prometheus', default to 'console'
33
46
-p, --http.port=<httpPort> Http port that is used to expose metrics in case
0 commit comments