Skip to content

Commit c254d6b

Browse files
committed
Update docs for default tenant/namespace
1 parent bec9318 commit c254d6b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

spring-pulsar-docs/src/main/antora/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
*** xref:reference/reactive-pulsar/reactive-message-consumption.adoc[]
2222
*** xref:reference/tombstones-reactive.adoc[]
2323
** xref:reference/topic-resolution.adoc[]
24+
** xref:reference/default-tenant-namespace.adoc[]
2425
** xref:reference/custom-object-mapper.adoc[]
2526
** xref:reference/pulsar-admin.adoc[]
2627
** xref:reference/pulsar-function.adoc[]

spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar-admin.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,11 @@ PulsarTopic partitionedTopic(PulsarTopicBuilder topicBuilder) {
4545
.build();
4646
}
4747
----
48+
49+
[[pulsar-topic-builder]]
50+
[NOTE]
51+
====
52+
When using Spring Boot the `PulsarTopicBuilder` is a registered bean that is configured with default values for domain, tenant, and namespace.
53+
You can simply inject the builder where needed.
54+
Otherwise, use one of the `PulsarTopicBuilder` constructors directly.
55+
====

0 commit comments

Comments
 (0)