Enabling end-to-end latency monitoring
Learn how to enable end-to-end latency monitoring of Kafka topics using Streams Messaging Manager. You need to edit the consumer.property
and producer.property
files, start the producer in one terminal and the
consumer on another, and then open the Streams Messaging Manager web UI for
monitoring end-to-end latency.
To enable the application start logging end-to-end latency metrics you use an interceptor for the Kafka client, which can be set through the configuration file.
Perform the following steps to enable the monitoring for the sample Java application and verify the latency in Streams Messaging Manager.