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)
messageId
- the message idvoid acked(KinesisMessageId messageId)
messageId
- the message idKinesisMessageId getNextFailedMessageToRetry()
void failedMessageEmitted(KinesisMessageId messageId)
messageId
- the message idCopyright © 2023 The Apache Software Foundation. All rights reserved.