Skip to content

Commit

Permalink
Set autocommit default to false
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriele Santomaggio <[email protected]>
  • Loading branch information
Gsantomaggio committed Jun 25, 2024
1 parent 8ae5dbf commit 8b29661
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/stream/super_stream_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ type SuperStreamConsumerOptions struct {

func NewSuperStreamConsumerOptions() *SuperStreamConsumerOptions {
return &SuperStreamConsumerOptions{
Offset: OffsetSpecification{}.Next(),
Offset: OffsetSpecification{}.Next(),
Autocommit: false,
}
}

Expand Down

0 comments on commit 8b29661

Please sign in to comment.