Initial infra for Pulsar binder/binding properties docs

This commit is contained in:
Soby Chacko
2023-02-23 20:38:19 -05:00
parent a8ca3932f2
commit 78dec77bb8
8 changed files with 44 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ dependencies {
api project (':spring-pulsar')
api 'org.springframework.boot:spring-boot-starter'
configurationProperties(project(path: ":spring-pulsar-spring-boot-autoconfigure", configuration: "configurationPropertiesMetadata"))
configurationProperties(project(path: ":spring-pulsar-spring-cloud-stream-binder", configuration: "configurationPropertiesMetadata"))
observationDocs "io.micrometer:micrometer-docs-generator:$micrometerDocsVersion"
}

View File

@@ -31,3 +31,7 @@ include::application-properties/pulsar-reactive-sender.adoc[]
include::application-properties/pulsar-reactive-consumer.adoc[]
include::application-properties/pulsar-reactive-reader.adoc[]
include::application-properties/pulsar-binder.adoc[]
include::application-properties/pulsar-bindings.adoc[]

View File

@@ -220,7 +220,7 @@ However, this is a basic non-partitioned topic, and if you want advanced feature
Pulsar topic provisioner uses `PulsarAdministration` from the framework, which uses the `PulsarAdminBuilder.`
For this reason, you need to set the `spring.pulsar.administration.service-url` property unless you are running Pulsar on the default server and port.
=== Specify partition count when creating the topic
=== Specifying partition count when creating the topic
When creating the topic, you can set the partition count in two ways.
First, you can set it at the binder level using the property `spring.cloud.stream.pulsar.binder.partition-count`.