resgateio/resgate

Slow consumer error not handled

jirenius opened this issue · 1 comments

Issue

Under heavy bursts of incoming messages from NATS, Resgate may silently drop events. The slow consumer error from nats client is not handled.

Solution

Make the message buffer channel size configurable, and increase default from 256 to 8192.
On slow consumer error, Resgate should shut down with a clear error, allowing for restart.

Resolved in PR #221