public interface FailedMessageRetryHandler extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
acked(KinesisMessageId messageId)
message with messageId succeeded/acked in the spout.
|
boolean |
failed(KinesisMessageId messageId)
message with messageId failed in the spout.
|
void |
failedMessageEmitted(KinesisMessageId messageId)
message with messageId returned by last call to getNextFailedMessageToRetry was emitted/retried by the spout.
|
KinesisMessageId |
getNextFailedMessageToRetry()
Get the next failed message’s id to retry if any, null otherwise.
|
boolean failed(KinesisMessageId messageId)
message with messageId failed in the spout.
messageId
- the message idvoid acked(KinesisMessageId messageId)
message with messageId succeeded/acked in the spout.
messageId
- the message idKinesisMessageId getNextFailedMessageToRetry()
Get the next failed message’s id to retry if any, null otherwise.
void failedMessageEmitted(KinesisMessageId messageId)
message with messageId returned by last call to getNextFailedMessageToRetry was emitted/retried by the spout.
messageId
- the message idCopyright © 2019 The Apache Software Foundation. All rights reserved.