Class SinglePartitionPublisherBuilder.Builder (1.8.0)

public abstract static class SinglePartitionPublisherBuilder.Builder

Inheritance

java.lang.Object > SinglePartitionPublisherBuilder.Builder

Constructors

Builder()

public Builder()

Methods

build()

public Publisher<MessageMetadata> build()
Returns
TypeDescription
Publisher<MessageMetadata>
Exceptions
TypeDescription
ApiException

setBatchingSettings(BatchingSettings batchingSettings)

public abstract SinglePartitionPublisherBuilder.Builder setBatchingSettings(BatchingSettings batchingSettings)
Parameter
NameDescription
batchingSettingsBatchingSettings
Returns
TypeDescription
SinglePartitionPublisherBuilder.Builder

setPartition(Partition partition)

public abstract SinglePartitionPublisherBuilder.Builder setPartition(Partition partition)
Parameter
NameDescription
partitionPartition
Returns
TypeDescription
SinglePartitionPublisherBuilder.Builder

setStreamFactory(StreamFactories.PublishStreamFactory streamFactory)

public abstract SinglePartitionPublisherBuilder.Builder setStreamFactory(StreamFactories.PublishStreamFactory streamFactory)
Parameter
NameDescription
streamFactoryStreamFactories.PublishStreamFactory
Returns
TypeDescription
SinglePartitionPublisherBuilder.Builder

setTopic(TopicPath topic)

public abstract SinglePartitionPublisherBuilder.Builder setTopic(TopicPath topic)
Parameter
NameDescription
topicTopicPath
Returns
TypeDescription
SinglePartitionPublisherBuilder.Builder