Class PartitionCountWatchingPublisherSettings.Builder (1.12.3)

public abstract static class PartitionCountWatchingPublisherSettings.Builder

Inheritance

java.lang.Object > PartitionCountWatchingPublisherSettings.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract PartitionCountWatchingPublisherSettings build()
Returns
TypeDescription
PartitionCountWatchingPublisherSettings

setAdminClient(AdminClient client)

public abstract PartitionCountWatchingPublisherSettings.Builder setAdminClient(AdminClient client)
Parameter
NameDescription
clientAdminClient
Returns
TypeDescription
PartitionCountWatchingPublisherSettings.Builder

setConfigPollPeriod(Duration period)

public abstract PartitionCountWatchingPublisherSettings.Builder setConfigPollPeriod(Duration period)
Parameter
NameDescription
periodDuration
Returns
TypeDescription
PartitionCountWatchingPublisherSettings.Builder

setPublisherFactory(PartitionPublisherFactory factory)

public abstract PartitionCountWatchingPublisherSettings.Builder setPublisherFactory(PartitionPublisherFactory factory)
Parameter
NameDescription
factoryPartitionPublisherFactory
Returns
TypeDescription
PartitionCountWatchingPublisherSettings.Builder

setRoutingPolicyFactory(RoutingPolicy.Factory factory)

public abstract PartitionCountWatchingPublisherSettings.Builder setRoutingPolicyFactory(RoutingPolicy.Factory factory)
Parameter
NameDescription
factoryRoutingPolicy.Factory
Returns
TypeDescription
PartitionCountWatchingPublisherSettings.Builder

setTopic(TopicPath path)

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