A test on nsq delayed message, good for time event based use case.
JavaScript
NSQ Delayed (Deffered) Message
Just a test on how NSQ deferred message works.
As you can see, the consumer has a 5-second delay on the sent message. This can be used to trigger cancellation events for e-commerce sites with reliable messaging.