Symptom
Cribl Stream data from Amazon Kinesis Data Streams arrives late after a temporary increase in source volume. The backlog drains slowly after the volume spike stops.
Environment
- Cribl Stream
- Amazon Kinesis Data Streams source
- Kinesis stream with a finite retention window
Resolution
- Have your organization’s application team stop or reduce the workload generating the excess Kinesis volume.
- Have your AWS administrator increase the Kinesis shard count proactively to provide additional processing capacity.
- Have your AWS administrator extend the Kinesis retention period when sustained spikes require additional time to drain the backlog.
- Allow Cribl Stream to drain the backlog after the excess volume stops.
Note: If the backlog exceeds the Kinesis retention window, some data might expire before Cribl Stream processes it.
Cause
This can be caused by:
- Incoming data into Kinesis temporarily exceeding Cribl’s ingestion capacity.
- Cribl Worker Processes scaling at a 1:1 ratio with the number of Kinesis shards, with throughput generally capped around 2 MB/s per shard/WP.
- An incoming spike surpassing that rate, causing Cribl Stream to fall behind.
Additional Information
- See Amazon Kinesis Streams Source for Kinesis source configuration and shard load balancing.
- See Sizing and Scaling for capacity planning and Worker Process profiling.
