Skip to content

Retryer's Stopstrategy in PipelineStage #29

@dream-coder-007

Description

@dream-coder-007

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions