Class RoutingPublisherBuilder.Builder (1.13.6)

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