Skip to content

Commit

Permalink
Update docs for default tenant/namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc committed Sep 4, 2024
1 parent bec9318 commit c254d6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions spring-pulsar-docs/src/main/antora/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*** xref:reference/reactive-pulsar/reactive-message-consumption.adoc[]
*** xref:reference/tombstones-reactive.adoc[]
** xref:reference/topic-resolution.adoc[]
** xref:reference/default-tenant-namespace.adoc[]
** xref:reference/custom-object-mapper.adoc[]
** xref:reference/pulsar-admin.adoc[]
** xref:reference/pulsar-function.adoc[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ PulsarTopic partitionedTopic(PulsarTopicBuilder topicBuilder) {
.build();
}
----

[[pulsar-topic-builder]]
[NOTE]
====
When using Spring Boot the `PulsarTopicBuilder` is a registered bean that is configured with default values for domain, tenant, and namespace.
You can simply inject the builder where needed.
Otherwise, use one of the `PulsarTopicBuilder` constructors directly.
====

0 comments on commit c254d6b

Please sign in to comment.