The Emitter property bufferSize specifies the desired number of events in one POST request, not the size or capacity of the buffer. This is obviously confusing. It will be even more confusing soon since the Emitter will get a constructor option for bufferCapacity i.e. the maximum size of the buffer.
It refers to the batch size, so bufferSize should be renamed batchSize.
The Emitter property
bufferSizespecifies the desired number of events in one POST request, not the size or capacity of the buffer. This is obviously confusing. It will be even more confusing soon since the Emitter will get a constructor option forbufferCapacityi.e. the maximum size of the buffer.It refers to the batch size, so
bufferSizeshould be renamedbatchSize.