From 01a95a70a214460a26db2b2fff307c6b9bfe7da3 Mon Sep 17 00:00:00 2001 From: Vedran Pavic <1149230+vpavic@users.noreply.github.com> Date: Thu, 29 Aug 2024 20:55:36 +0200 Subject: [PATCH] chris.bono@gmail.com This commit fixes invalid documentation references to `spring.pulsar.consumer.subscription.type` configuration property. --- .../ROOT/pages/reference/pulsar/message-consumption.adoc | 2 +- .../reference/reactive-pulsar/reactive-message-consumption.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/message-consumption.adoc b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/message-consumption.adoc index 94bcbe2c..39daa687 100644 --- a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/message-consumption.adoc +++ b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/message-consumption.adoc @@ -15,7 +15,7 @@ Spring Boot provides this consumer factory which you can further configure by sp TIP: The `spring.pulsar.consumer.subscription.name` property is ignored and is instead generated when not specified on the annotation. -TIP: The `spring.pulsar.consumer.subscription-type` property is ignored and is instead taken from the value on the annotation. However, you can set the `subscriptionType = {}` on the annotation to instead use the property value as the default. +TIP: The `spring.pulsar.consumer.subscription.type` property is ignored and is instead taken from the value on the annotation. However, you can set the `subscriptionType = {}` on the annotation to instead use the property value as the default. Let us revisit the `PulsarListener` code snippet we saw in the quick-tour section: diff --git a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-message-consumption.adoc b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-message-consumption.adoc index 42c8691a..74ca5f6f 100644 --- a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-message-consumption.adoc +++ b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-message-consumption.adoc @@ -122,7 +122,7 @@ Spring Boot provides this consumer factory which you can further configure by sp TIP: The `spring.pulsar.consumer.subscription.name` property is ignored and is instead generated when not specified on the annotation. -TIP: The `spring.pulsar.consumer.subscription-type` property is ignored and is instead taken from the value on the annotation. However, you can set the `subscriptionType = {}` on the annotation to instead use the property value as the default. +TIP: The `spring.pulsar.consumer.subscription.type` property is ignored and is instead taken from the value on the annotation. However, you can set the `subscriptionType = {}` on the annotation to instead use the property value as the default. === Generic records with AUTO_CONSUME If there is no chance to know the type of schema of a Pulsar topic in advance, you can use the `AUTO_CONSUME` schema type to consume generic records.