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
- void acked(KinesisMessageId messageId)
message with messageId succeeded/acked in the spout
messageId
- KinesisMessageId 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
- Copyright © 2019 The Apache Software Foundation. All Rights Reserved.