fabric
fabric copied to clipboard
Retryer's Stopstrategy in PipelineStage
Hi @shaikidris @shashankg @satks , I am consuming messages/event from a Kafka topic. Retryer in PipelineStage class is created with "neverStop" stop strategy. If there is an exception in event processing (using StreamingProcessor) due to some issue in message/event payload, retryer simply retries and keeps processing this particular event/message due to never stop strategy. It gets stuck here and does not process next events. Once max.poll.interval.ms is reached this partition gets assigned to another consumer. Same thing happens with this consumer also and it just continues and after sometime all consumers get stuck. Can we use StopAfterAttemptStrategy here to avoid this or is there any alternative or workaround to solve this problem? Am I missing anything here ?