Skip to content
Exercise · NATS JetStream · lesson 5 of 8

Exercise: AckWait and MaxDeliver

A client got a message from a JetStream consumer and stays silent: the handler crashed, hung or is still working. The server does not wait for an acknowledgement forever: if none arrives within AckWait, it delivers the message again, and after MaxDeliver deliveries it stops handing the message out.