Class SinglePartitionPublisherBuilder.Builder (1.13.8)

public abstract static class SinglePartitionPublisherBuilder.Builder

Inheritance

java.lang.Object > SinglePartitionPublisherBuilder.Builder

Constructors

Builder()

public Builder()

Methods

build()

public Publisher<MessageMetadata> build()
Returns
Type Description
Publisher<MessageMetadata>
Exceptions
Type Description
ApiException

setBatchingSettings(BatchingSettings batchingSettings)

public abstract SinglePartitionPublisherBuilder.Builder setBatchingSettings(BatchingSettings batchingSettings)
Parameter
Name Description
batchingSettings BatchingSettings
Returns
Type Description
SinglePartitionPublisherBuilder.Builder

setClientId(ByteString clientId)

public abstract SinglePartitionPublisherBuilder.Builder setClientId(ByteString clientId)
Parameter
Name Description
clientId ByteString
Returns
Type Description
SinglePartitionPublisherBuilder.Builder

setPartition(Partition partition)

public abstract SinglePartitionPublisherBuilder.Builder setPartition(Partition partition)
Parameter
Name Description
partition Partition
Returns
Type Description
SinglePartitionPublisherBuilder.Builder

setStreamFactory(StreamFactories.PublishStreamFactory streamFactory)

public abstract SinglePartitionPublisherBuilder.Builder setStreamFactory(StreamFactories.PublishStreamFactory streamFactory)
Parameter
Name Description
streamFactory StreamFactories.PublishStreamFactory
Returns
Type Description
SinglePartitionPublisherBuilder.Builder

setTopic(TopicPath topic)

public abstract SinglePartitionPublisherBuilder.Builder setTopic(TopicPath topic)
Parameter
Name Description
topic TopicPath
Returns
Type Description
SinglePartitionPublisherBuilder.Builder