From dff4ca22932a7ea0797e443aea7976b74b9f893f Mon Sep 17 00:00:00 2001 From: izeye Date: Sun, 14 Feb 2021 17:37:46 +0900 Subject: [PATCH] Document Kafka Streams metrics support See gh-25272 --- .../src/docs/asciidoc/production-ready-features.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc index a2fe5471274..e4add68f86f 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc @@ -1865,7 +1865,7 @@ Spring Boot registers the following core metrics when applicable: ** Number of classes loaded/unloaded * CPU metrics * File descriptor metrics -* Kafka consumer and producer metrics +* Kafka consumer, producer and streams metrics * Log4j2 metrics: record the number of events logged to Log4j2 at each level * Logback metrics: record the number of events logged to Logback at each level * Uptime metrics: report a gauge for uptime and a fixed gauge representing the application's absolute start time @@ -2117,6 +2117,7 @@ Auto-configuration will enable the instrumentation of all available RabbitMQ con [[production-ready-metrics-kafka]] ==== Kafka Metrics Auto-configuration will register a `MicrometerConsumerListener` and `MicrometerProducerListener` for the auto-configured consumer factory and producer factory respectively. +It will also register `KafkaStreamsMicrometerListener` for `StreamsBuilderFactoryBean`. For more details refer to {spring-kafka-docs}#micrometer-native[Micrometer Native Metrics] section of the Spring Kafka documentation.