mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix links in Spring Kafka section of ref guide
Spring for Apache Kafka recently moved to Antora docs which in turn modified the base url slightly. This commmit adjusts for the move. See gh-37987
This commit is contained in:
parent
9469327f04
commit
1571097048
@ -968,7 +968,7 @@ Metrics are published under the `spring.integration.` meter name.
|
|||||||
==== Kafka Metrics
|
==== Kafka Metrics
|
||||||
Auto-configuration registers a `MicrometerConsumerListener` and `MicrometerProducerListener` for the auto-configured consumer factory and producer factory, respectively.
|
Auto-configuration registers a `MicrometerConsumerListener` and `MicrometerProducerListener` for the auto-configured consumer factory and producer factory, respectively.
|
||||||
It also registers a `KafkaStreamsMicrometerListener` for `StreamsBuilderFactoryBean`.
|
It also registers a `KafkaStreamsMicrometerListener` for `StreamsBuilderFactoryBean`.
|
||||||
For more detail, see the {spring-kafka-docs}#micrometer-native[Micrometer Native Metrics] section of the Spring Kafka documentation.
|
For more detail, see the {spring-kafka-docs}kafka/micrometer.html#micrometer-native[Micrometer Native Metrics] section of the Spring Kafka documentation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
:spring-graphql-docs: https://docs.spring.io/spring-graphql/reference/{spring-graphql-version}/
|
:spring-graphql-docs: https://docs.spring.io/spring-graphql/reference/{spring-graphql-version}/
|
||||||
:spring-integration: https://spring.io/projects/spring-integration
|
:spring-integration: https://spring.io/projects/spring-integration
|
||||||
:spring-integration-docs: https://docs.spring.io/spring-integration/reference/{spring-integration-version}/
|
:spring-integration-docs: https://docs.spring.io/spring-integration/reference/{spring-integration-version}/
|
||||||
:spring-kafka-docs: https://docs.spring.io/spring-kafka/docs/{spring-kafka-version}/reference/html/
|
:spring-kafka-docs: https://docs.spring.io/spring-kafka/docs/{spring-kafka-version}/reference/
|
||||||
:spring-pulsar-docs: https://docs.spring.io/spring-pulsar/docs/{spring-pulsar-version}/reference/html/
|
:spring-pulsar-docs: https://docs.spring.io/spring-pulsar/docs/{spring-pulsar-version}/reference/html/
|
||||||
:spring-restdocs: https://spring.io/projects/spring-restdocs
|
:spring-restdocs: https://spring.io/projects/spring-restdocs
|
||||||
:spring-security: https://spring.io/projects/spring-security
|
:spring-security: https://spring.io/projects/spring-security
|
||||||
|
@ -142,7 +142,7 @@ IMPORTANT: Properties set in this way override any configuration item that Sprin
|
|||||||
=== Testing with Embedded Kafka
|
=== Testing with Embedded Kafka
|
||||||
Spring for Apache Kafka provides a convenient way to test projects with an embedded Apache Kafka broker.
|
Spring for Apache Kafka provides a convenient way to test projects with an embedded Apache Kafka broker.
|
||||||
To use this feature, annotate a test class with `@EmbeddedKafka` from the `spring-kafka-test` module.
|
To use this feature, annotate a test class with `@EmbeddedKafka` from the `spring-kafka-test` module.
|
||||||
For more information, please see the Spring for Apache Kafka {spring-kafka-docs}#embedded-kafka-annotation[reference manual].
|
For more information, please see the Spring for Apache Kafka {spring-kafka-docs}testing.html#ekb[reference manual].
|
||||||
|
|
||||||
To make Spring Boot auto-configuration work with the aforementioned embedded Apache Kafka broker, you need to remap a system property for embedded broker addresses (populated by the `EmbeddedKafkaBroker`) into the Spring Boot configuration property for Apache Kafka.
|
To make Spring Boot auto-configuration work with the aforementioned embedded Apache Kafka broker, you need to remap a system property for embedded broker addresses (populated by the `EmbeddedKafkaBroker`) into the Spring Boot configuration property for Apache Kafka.
|
||||||
There are several ways to do that:
|
There are several ways to do that:
|
||||||
|
Loading…
Reference in New Issue
Block a user