Setup APM distributed tracing to work with kafka and multiple node services

Hi there,

I currently have a micro-services architecture composed of NodeJS micro-services and Spring-boot micro-services. The services are communicating synchronously via Rest and asynchronously via Kafka messages.

While the HTTP communication is fully covered by the Elastic APM - the Kafka communication is not covered at all - not the nodeJs agent and neither Java agent.

Does anyone know how to make it works?
Thanks

Hi @Elhen15,

Kafka support has been added recently to the Java agent : https://github.com/elastic/apm-agent-java/pull/981, but is not released yet.

Regarding NodeJS agent, I'm not familiar with it, but there are quite a few issues and references to kafka-node in the repository: https://github.com/elastic/apm-agent-nodejs/search?q=kafka&type=Issues which suggest there is at least partial support of it, do you use this client library or another one ?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.