Skip to content

Commit

Permalink
fix: remove ack from nats core
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Oct 6, 2024
1 parent 85d934d commit 5b4a7b0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/client/jetstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,6 @@ func (client *Client) messageHandlerCoreFactory() (nats.MsgHandler, <-chan *Mess
Subject: msg.Subject,
Data: msg.Data,
}

if err := msg.Ack(); err != nil {
client.logger.Error("Failed to acknowledge the message", zap.Error(err))
}
}, ch
}

Expand Down

0 comments on commit 5b4a7b0

Please sign in to comment.