Production defaults
| Option | Default |
|---|---|
delivery.mode | "BACKGROUND" |
delivery.timeoutMs | 1000 |
delivery.flushOnRunEnd | false |
delivery.flushIntervalMs | 3000 |
delivery.batchSize | 50 |
delivery.maxQueueSize | 1000 |
delivery.overflowStrategy | "DROP_OLDEST" |
circuitBreaker.enabled | true |
circuitBreaker.failureThreshold | 3 |
circuitBreaker.cooldownMs | 30000 |
Background delivery
In background mode,run() records events locally and returns without waiting for telemetry delivery. The SDK sends events from a timer, from explicit flush(), or from shutdown().
Blocking delivery
Use blocking mode only when the current process must make a send attempt during the request lifecycle.Flush and shutdown
shutdown() before the process exits.
Local status
If the Lynx server is down
The SDK catches network, timeout, and non-2xx response errors. Failed batches move to an in-memory retry queue. After repeated failures, the circuit breaker opens and pauses delivery attempts until the cooldown passes. If the queue reachesmaxQueueSize, the SDK drops events according to overflowStrategy.