IngestionConfiguration

data class IngestionConfiguration @JvmOverloads constructor(val clientConfiguration: EventClientConfiguration, var ingestionUrl: String, val disabled: Boolean = true, var flushSize: Int = 20, var flushIntervalMs: Long = 5000, var retryCountLimit: Int = 2)

IngestionConfiguration defines the configuration that can customize DefaultEventReporter.

Constructors

Link copied to clipboard
constructor(clientConfiguration: EventClientConfiguration, ingestionUrl: String, disabled: Boolean = true, flushSize: Int = 20, flushIntervalMs: Long = 5000, retryCountLimit: Int = 2)

Properties

Link copied to clipboard

: EventClientConfiguration - configuration needed for metadata.

Link copied to clipboard
val disabled: Boolean = true

: Boolean - whether ingestion is enabled or disabled. defaults true.

Link copied to clipboard

: Long - duration to wait, pull, and send the data. >= 100. defaults 5000.

Link copied to clipboard

: Int - number of payloads to send as a batch. <= 100 and 0. defaults 20.

Link copied to clipboard

: String - ingestion server url.

Link copied to clipboard

: Int - retry count limit. 0 >= and <= 5. defaults 2.