Class ConsumerPolicy
java.lang.Object
org.nuxeo.lib.stream.pattern.consumer.ConsumerPolicy
- Direct Known Subclasses:
DocumentConsumerPolicy
The consumer policy drive the consumer pool and runner.
- Since:
- 9.1
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BatchPolicy
static final ConsumerPolicy
Consumer policy that stop on starvation and failure.static final ConsumerPolicy
static final String
protected final short
protected final String
static final net.jodah.failsafe.RetryPolicy<Object>
protected final net.jodah.failsafe.RetryPolicy<Object>
protected final boolean
protected final boolean
protected final ConsumerPolicy.StartOffset
static final ConsumerPolicy
Consumer policy that wait for ever for new message and skip failure.static final ConsumerPolicy
protected final Duration
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_NAME
- See Also:
-
NO_RETRY
-
BOUNDED
Consumer policy that stop on starvation and failure. -
BOUNDED_RETRY
-
UNBOUNDED
Consumer policy that wait for ever for new message and skip failure. -
UNBOUNDED_RETRY
-
batchPolicy
-
retryPolicy
-
skipFailure
protected final boolean skipFailure -
waitMessageTimeout
-
startOffset
-
salted
protected final boolean salted -
name
-
maxThreads
protected final short maxThreads
-
-
Constructor Details
-
ConsumerPolicy
-
-
Method Details