public class PullSubscribeOptions extends SubscribeOptions
PullSubscribeOptions.Builder
or static helper methods.Modifier and Type | Class and Description |
---|---|
static class |
PullSubscribeOptions.Builder
PullSubscribeOptions can be created using a Builder.
|
bind, consumerConfig, DEFAULT_ORDERED_HEARTBEAT, messageAlarmTime, ordered, pull, stream
Modifier and Type | Method and Description |
---|---|
static PullSubscribeOptions |
bind(java.lang.String stream,
java.lang.String durable)
Create PullSubscribeOptions where you are binding to
a specific stream, specific durable and are using bind mode
|
static PullSubscribeOptions.Builder |
builder()
Macro to start a PullSubscribeOptions builder
|
getConsumerConfiguration, getDurable, getMessageAlarmTime, getStream, isBind, isOrdered, isPull, toString
public static PullSubscribeOptions.Builder builder()
public static PullSubscribeOptions bind(java.lang.String stream, java.lang.String durable)
stream
- the stream name to bind todurable
- the durable name