Class PublisherBuilder.Builder (1.6.3)

public abstract static class PublisherBuilder.Builder

Inheritance

java.lang.Object > PublisherBuilder.Builder

Constructors

Builder()

public Builder()

Methods

build()

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

setBatching(BatchingSettings batching)

public abstract PublisherBuilder.Builder setBatching(BatchingSettings batching)
Parameter
NameDescription
batchingBatchingSettings
Returns
TypeDescription
PublisherBuilder.Builder

setPartition(Partition partition)

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

setStreamFactory(StreamFactories.PublishStreamFactory streamFactory)

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

setTopic(TopicPath path)

public abstract PublisherBuilder.Builder setTopic(TopicPath path)
Parameter
NameDescription
pathTopicPath
Returns
TypeDescription
PublisherBuilder.Builder