Enabling end-to-end latency monitoring
Learn how to enable end-to-end latency monitoring of Kafka topics using Streams
Messaging Manager (SMM). 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 SMM 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 SMM.