File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,28 @@ The {name} includes the following features:
13
13
* <<stream-reader,Stream Reader>>
14
14
15
15
[[source-at-least-once-delivery]]
16
- === At least once delivery
17
- The {name} guarantees that records from the Kafka topic are delivered at least once.
16
+ === Delivery Guarantees
17
+
18
+ The {name} can be configured to ack stream messages either automatically (at-most-once delivery) or explicitly (at-least-once delivery).
19
+ The default is explicit acks.
20
+
21
+ ==== Explicit Ack (default)
22
+
23
+ In this mode, each stream message is acknowledged after it has been written to the corresponding topic.
24
+
25
+ [source,properties]
26
+ ----
27
+ redis.stream.ack=EXPLICIT
28
+ ----
29
+
30
+ ==== Automatic Ack
31
+
32
+ In this mode, stream messages are acknowledged as soon as they are read.
33
+
34
+ [source,properties]
35
+ ----
36
+ redis.stream.ack=AUTO
37
+ ----
18
38
19
39
[[source-tasks]]
20
40
=== Multiple Tasks
You can’t perform that action at this time.
0 commit comments