Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhemmarchand committed Nov 29, 2018
1 parent e80cf78 commit 4c7c5e5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/kafka_monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,44 @@ Starting Jolokia with the JVM

*Note: This method is the method used in the docker example within this documentation by using the environment variables of the container.*

**When running on dedicated servers or virtual machines, update the relevant systemd configuration file to start Jolokia automatically:**

For Kafka brokers
-----------------

::

Environment="KAFKA_OPTS=-javaagent:/opt/jolokia/jolokia-jvm-1.6.0-agent.jar=port=8778,host=0.0.0.0"

For Kafka Connect
-----------------

::

Environment="KAFKA_OPTS=-javaagent:/opt/jolokia/jolokia-jvm-1.6.0-agent.jar=port=8778,host=0.0.0.0"

For Confluent schema-registry
-----------------------------

::

Environment="KAFKA_OPTS=-javaagent:/opt/jolokia/jolokia-jvm-1.6.0-agent.jar=port=8778,host=0.0.0.0"

For Confluent ksql-server
-------------------------

::

Environment="KSQL_OPTS=-javaagent:/opt/jolokia/jolokia-jvm-1.6.0-agent.jar=port=8778,host=0.0.0.0"

For Confluent kafka-rest
------------------------

::

Environment="KAFKAREST_OPTS=-javaagent:/opt/jolokia/jolokia-jvm-1.6.0-agent.jar=port=8778,host=0.0.0.0"


Starting Jolokia on the fly
===========================

Expand Down

0 comments on commit 4c7c5e5

Please sign in to comment.