Skip to content

StreamSourceRecordReader should support AckPolicy.MANUAL #17

Closed
@ahawtho

Description

@ahawtho

StreamSourceRecordReader uses the default AckPolicy on RedisItemReader, which is AUTO. If the connector fails to write to the topic after the reader has received a message, and the task is stopped/restarted, that message will be lost (at-most-once processing).

The connector should also support at-least-once processing by XACK'ing each message after they've been committed, indicated by AckPolicy.MANUAL. The connector should support a property such as:

redis.stream.delivery.type: at-least-once | at-most-once

and I'd argue the default should be at-least-once. I believe I can put together a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreleasedIssue has been released

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions