Class SinglePartitionPublisherBuilder.Builder (1.11.2)

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

setClientId(ByteString clientId)

public abstract SinglePartitionPublisherBuilder.Builder setClientId(ByteString clientId)
Parameter
NameDescription
clientIdByteString
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