The SDK needs to ensure it doesn’t use up too much memory/storage and should drop messages on the client after a maximum number of messages have been queued. Factors which impact this decision are:
- Maximum size of a single message in a batch (32KB)
- Maximum size of a batch (500KB)
- 32MB limit to the internal queue
Should any limits be hit, emit an Error log event.
Tasks: