From cb118184c5a283a849fc6be05c0e8323fc41809f 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 --- .../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 088a796838d3..f8272a743379 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 @@ -2124,7 +2124,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 @@ -2380,6 +2380,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.