Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to setup Kafka and Zookeeper in transactions and services

Hello Folks,

Has anyone ever set up zookeeper and Kafka as services? If so, could share how did it?
Thank you very much.

Kind regards

Carlos Coqueiro


DynaMight Legend
DynaMight Legend

Normally you don't setup services in the processes as they are created automatically based on the (supported) framework used. You can use Custom services or Oneagent SDK to setup services that are were not discovered or were not discovered as you need them to be.

Were at least some services created for your Kafka and Zookeeper processes? Kafka or Zookeper are not within officially supported technologies (only JMX metrics for Kafka). Afaik Dynatrace Oneagent instruments some classes and methods for Kafka, I have not been successful in getting (autodetected) services for Kafka consumers or producers in my lab.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

DynaMight Guru
DynaMight Guru

In general Kafka and Zookeeper are monitored not via services. But there are informations from CPU sampling (method hotspots), visible from process card.

What I’ve done on our client was instrumenting peace’s of code that are sending requests to Kafka from application endpoints. There I see performance and responsiveness of Kafka.

For Kafka JMX measures + infrastructure are good enough for troubleshooting.


Regards, Sebastian

Featured Posts