Skip to content

Commit 8b29661

Browse files
committed
Set autocommit default to false
Signed-off-by: Gabriele Santomaggio <g.santomaggio@gmail.com>
1 parent 8ae5dbf commit 8b29661

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/stream/super_stream_consumer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ type SuperStreamConsumerOptions struct {
2020

2121
func NewSuperStreamConsumerOptions() *SuperStreamConsumerOptions {
2222
return &SuperStreamConsumerOptions{
23-
Offset: OffsetSpecification{}.Next(),
23+
Offset: OffsetSpecification{}.Next(),
24+
Autocommit: false,
2425
}
2526
}
2627

0 commit comments

Comments
 (0)