public abstract class SubscriberOptions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SubscriberOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings |
DEFAULT_FLOW_CONTROL |
Constructor and Description |
---|
SubscriberOptions() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings |
flowControlSettings()
Per-partition flow control parameters for this subscription.
|
abstract Duration |
minBundleTimeout()
The minimum wall time to pass before allowing bundle closure.
|
static SubscriberOptions.Builder |
newBuilder() |
abstract java.util.Set<com.google.cloud.pubsublite.Partition> |
partitions()
A set of partitions.
|
abstract com.google.cloud.pubsublite.SubscriptionPath |
subscriptionPath() |
abstract SubscriberOptions.Builder |
toBuilder() |
public static final com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings DEFAULT_FLOW_CONTROL
public abstract com.google.cloud.pubsublite.SubscriptionPath subscriptionPath()
public abstract com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings flowControlSettings()
public abstract java.util.Set<com.google.cloud.pubsublite.Partition> partitions()
public abstract Duration minBundleTimeout()
Setting this to too small of a value will result in increased compute costs and lower throughput per byte. Immediate timeouts (Duration.ZERO) may be useful for testing.
public static SubscriberOptions.Builder newBuilder()
public abstract SubscriberOptions.Builder toBuilder()