Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventBufferConfiguration

EventBufferConfiguration contains necessary information to configure buffer.

Hierarchy

  • EventBufferConfiguration

Index

Constructors

constructor

  • new EventBufferConfiguration(flushIntervalMs?: number, flushSize?: number, maxBufferCapacityKb?: number, totalBufferItems?: number, retryCountLimit?: number): EventBufferConfiguration

Properties

flushIntervalMs

flushIntervalMs: number

Events sending interval. Default is 5000.

flushSize

flushSize: number

Number of buffer items to send in a request. Default is 2.

maxBufferCapacityKb

maxBufferCapacityKb: number

Maximum buffer capacity in Kilobytes. Default is 64Kb.

retryCountLimit

retryCountLimit: number

Retrying limit when sending events. Default is 15.

totalBufferItems

totalBufferItems: number

Maximum buffer items allowed. Default is 100. Max buffer item capacity = (maxBufferCapacityKb * 1024) / totalBufferItems;

Generated using TypeDoc