Class PartitionCountWatchingPublisherSettings.Builder (1.14.7)

public abstract static class PartitionCountWatchingPublisherSettings.Builder

Inheritance

java.lang.Object > PartitionCountWatchingPublisherSettings.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract PartitionCountWatchingPublisherSettings build()
Returns
Type Description
PartitionCountWatchingPublisherSettings

setAdminClient(AdminClient client)

public abstract PartitionCountWatchingPublisherSettings.Builder setAdminClient(AdminClient client)
Parameter
Name Description
client AdminClient
Returns
Type Description
PartitionCountWatchingPublisherSettings.Builder

setConfigPollPeriod(Duration period)

public abstract PartitionCountWatchingPublisherSettings.Builder setConfigPollPeriod(Duration period)
Parameter
Name Description
period Duration
Returns
Type Description
PartitionCountWatchingPublisherSettings.Builder

setPublisherFactory(PartitionPublisherFactory factory)

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

setRoutingPolicyFactory(RoutingPolicy.Factory factory)

public abstract PartitionCountWatchingPublisherSettings.Builder setRoutingPolicyFactory(RoutingPolicy.Factory factory)
Parameter
Name Description
factory RoutingPolicy.Factory
Returns
Type Description
PartitionCountWatchingPublisherSettings.Builder

setTopic(TopicPath path)

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