Class RoutingPublisherBuilder.Builder (1.14.7)

public abstract static class RoutingPublisherBuilder.Builder

Inheritance

java.lang.Object > RoutingPublisherBuilder.Builder

Constructors

Builder()

public Builder()

Methods

build()

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

setNumPartitions(Integer numPartitions)

public abstract RoutingPublisherBuilder.Builder setNumPartitions(Integer numPartitions)
Parameter
Name Description
numPartitions Integer
Returns
Type Description
RoutingPublisherBuilder.Builder

setPublisherFactory(PartitionPublisherFactory factory)

public abstract RoutingPublisherBuilder.Builder setPublisherFactory(PartitionPublisherFactory factory)
Parameter
Name Description
factory PartitionPublisherFactory
Returns
Type Description
RoutingPublisherBuilder.Builder

setTopic(TopicPath path)

public abstract RoutingPublisherBuilder.Builder setTopic(TopicPath path)
Parameter
Name Description
path TopicPath
Returns
Type Description
RoutingPublisherBuilder.Builder