Closed
Description
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.