Skip to content

Commit

Permalink
changing offset reset to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 14, 2023
1 parent 1db8ded commit 7498948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/event_listener/consumer/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewConsumer(config *config.KafkaConfiguration) (*Consumer, error) {
"sasl.mechanism": config.AuthenticationMechanism,
"sasl.username": config.Username,
"sasl.password": config.Password,
"auto.offset.reset": "earliest",
"auto.offset.reset": "latest",
})

if err != nil {
Expand Down

0 comments on commit 7498948

Please sign in to comment.