Package org.springframework.pulsar.core
Class PulsarTopicBuilder
java.lang.Object
org.springframework.pulsar.core.PulsarTopicBuilder
Builder class to create 
PulsarTopic instances.- Author:
- Alexander Preuß
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Constructs thePulsarTopicwith the properties configured in this builder.numberOfPartitions(int numberOfPartitions) Sets the number of topic partitions.
- 
Constructor Details- 
PulsarTopicBuilder
 
- 
- 
Method Details- 
numberOfPartitionsSets the number of topic partitions.- Parameters:
- numberOfPartitions- the number of topic partitions
- Returns:
- this builder
 
- 
buildConstructs thePulsarTopicwith the properties configured in this builder.- Returns:
- PulsarTopic
 
 
-