public interface FailedMsgRetryManager extends Serializable
| Modifier and Type | Method and Description | 
|---|---|
| void | acked(Long offset)Message corresponding to the offset, was acked to kafka spout. | 
| Set<Long> | clearOffsetsBefore(Long kafkaOffset)Clear any offsets before kafkaOffset. | 
| void | failed(Long offset)Message corresponding to the offset failed in kafka spout. | 
| Long | nextFailedMessageToRetry()The offset of message, which is to be re-emitted. | 
| void | prepare(SpoutConfig spoutConfig,
       Map stormConf)Initialization | 
| boolean | retryFurther(Long offset)Spout will clean up the state for this offset if false is returned. | 
| void | retryStarted(Long offset)Message corresponding to the offset, has been re-emitted and under transit. | 
| boolean | shouldReEmitMsg(Long offset) | 
void prepare(SpoutConfig spoutConfig, Map stormConf)
Initialization
void failed(Long offset)
Message corresponding to the offset failed in kafka spout.
offset - void acked(Long offset)
Message corresponding to the offset, was acked to kafka spout.
offset - void retryStarted(Long offset)
Message corresponding to the offset, has been re-emitted and under transit.
offset - Long nextFailedMessageToRetry()
The offset of message, which is to be re-emitted. Spout will fetch messages starting from this offset and resend them, except completed messages.
boolean shouldReEmitMsg(Long offset)
offset - boolean retryFurther(Long offset)
Spout will clean up the state for this offset if false is returned.
offset - Copyright © 2022 The Apache Software Foundation. All Rights Reserved.