Nak negatively acknowledges a message. This tells the server to redeliver the message. You can configure the number of redeliveries by passing nats.MaxDeliver when you Subscribe. The default is infinite redeliveries.
(opts ...AckOpt)
| 3667 | // the message. You can configure the number of redeliveries by passing |
| 3668 | // nats.MaxDeliver when you Subscribe. The default is infinite redeliveries. |
| 3669 | func (m *Msg) Nak(opts ...AckOpt) error { |
| 3670 | return m.ackReply(ackNak, false, opts...) |
| 3671 | } |
| 3672 | |
| 3673 | // Nak negatively acknowledges a message. This tells the server to redeliver |
| 3674 | // the message after the give `delay` duration. You can configure the number |