memory

Memory queue, is a memory buffer queue implemented based on go-disruptor.

Note

Since the version of go-disruptor has not been released, the memory queue is still in the experimental stage. Not recommended for production environments!

Example

  1. queue:
  2. type: memory

batchSize

fieldtyperequireddefaultdescription
batchSizeintfalse2048The number of events contained in a batch.

batchBufferFactor

fieldtyperequireddefaultdescription
batchBufferFactorintfalse2The size of the queue buffer (the capacity of the channel) = batchSize*batchBufferFactor

batchBytes

fieldtyperequireddefaultdescription
batchBytesint64false33554432(32MB)The maximum number of bytes of data contained in a batch.

batchAggTimeout

fieldtyperequireddefaultdescription
batchAggTimeouttime.Durationfalse1sTimeout time for Assembling and aggregating multiple events into one batch.