trackkit / dispatcher/types / ResolvedBatchingOptions
Interface: ResolvedBatchingOptions
Defined in: dispatcher/types.ts:133
Internal
Fully resolved batching options with defaults applied.
See
BatchingOptions
Extends
Required<BatchingOptions>
Properties
enabled
enabled:
boolean
Defined in: dispatcher/types.ts:93
Enable event batching to reduce network requests.
Inherited from
maxSize
maxSize:
number
Defined in: dispatcher/types.ts:100
Maximum number of events per batch.
When reached, the batch is flushed even if maxWait has not elapsed.
Inherited from
maxWait
maxWait:
number
Defined in: dispatcher/types.ts:105
Maximum time in milliseconds to wait before sending an incomplete batch.
Inherited from
maxBytes
maxBytes:
number
Defined in: dispatcher/types.ts:112
Maximum payload size in bytes per batch.
Useful for staying under gateway/proxy limits.
Inherited from
concurrency
concurrency:
number
Defined in: dispatcher/types.ts:117
Number of batches that can be in-flight simultaneously.
Inherited from
deduplication
deduplication:
boolean
Defined in: dispatcher/types.ts:124
Remove duplicate events within the same batch.
Deduplication is based on dispatcher-level heuristics.