Home / Companies / Confluent / Blog / Post Details
Content Deep Dive

The Importance of Distributed Tracing for Apache Kafka Based Applications

Blog post from Confluent

Post Details
Company
Date Published
Author
Jorge Quilcate, Victoria Xia, Wade Waldron
Word Count
1,648
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

Apache Kafka-based applications use event logs to decouple producers and consumers, enabling choreographed service collaborations without direct communication between them. However, making sense of these communication patterns can be challenging due to implicit dependencies and the use of different programming languages, platforms, and teams. Distributed tracing is a method for recording, collecting, and recreating execution traces from distributed components, which can help analyze latency issues and debug applications at runtime. Tracing libraries offer instrumentation to collect interactions between components, making it easier to enable tracing. Zipkin is a popular distributed tracing project that provides a Java tracer library with built-in instrumentation for Kafka clients, streams, and connect pipelines. By adding interceptors to Kafka Connect plugins, tracing capabilities can be implemented, allowing for the collection of traces from every message produced and consumed by any application using the producer and consumer APIs. Tracing introduces performance impact but can be mitigated with sampling strategies. The use of distributed tracing has been instrumental in helping a Norwegian consulting firm, SYSCO AS, analyze latency issues and debug applications at runtime.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 31 201 46 16 -33%
Real-time 3 287 104 41 -22%
RAG 1 7 7 1 0%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.