You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Writer's NATS msgHandler() is consuming NATS messages synchronosly with delivering message.
It should be changed so that it follows pattern of passing things into a queue and then having a number of workers
It can be automated with by using nc.ChanSubscribe or the SubscribeSync/NextMsg pattern
The text was updated successfully, but these errors were encountered:
If you have a large number of large messages and writing takes a long time you may lose messages.
With ChanSubscribe you will create a buffer for messages and process messages at pace.
Currently Writer's NATS
msgHandler()
is consuming NATS messages synchronosly with delivering message.It should be changed so that it follows pattern
of passing things into a queue and then having a number of workers
It can be automated with by using nc.ChanSubscribe or the SubscribeSync/NextMsg pattern
The text was updated successfully, but these errors were encountered: