flush
Drains the queue: reads batches of effectiveBatchSize and POSTs them until the queue is empty or a non-retryable error halts further sends.
Drains the queue: reads batches of effectiveBatchSize and POSTs them until the queue is empty or a non-retryable error halts further sends.