Backpressure Triggers in Cribl Stream

Trigger thresholds and actions that keep destinations from stalling, per the docs.

What triggers are for

Backpressure exists when a Destination receives more data than it can currently send. Per the Cribl Stream documentation on destination backpressure triggers, it typically results from network connectivity problems or from a Destination receiving data faster than it can forward that data to the downstream service.

This post covers the destination side of backpressure. When a Destination signals backpressure, it notifies the Sources generating data that its buffers are full and that the incoming data flow should pause until there is room for more data.

What happens when backpressure fires is set through a Destination's Backpressure Behavior drop-down. Where other options are not displayed, the default is Block; see the Persistent Queues documentation for all behaviors and options.

HTTP-based Destinations trigger backpressure when they encounter errors while connecting or when they receive certain HTTP response codes: connection failure, connection or request timeouts, data overload such as when the Source sends more data than the Destination will accept, reaching the limit on concurrent (in-flight) requests, and HTTP 500 series responses. If the HTTP call returns a 500 series (500-599) code, the Destination adds the buffered events back to its internal buffer and tries to send them again; the retry can also trigger backpressure, depending on how often this happens. A 400 series response code makes the Destination drop (not retry) the events, because these codes indicate an error in payload or formatting (for example). When the number of requests in flight exceeds the value set in Advanced Settings > Request concurrency, the Destination triggers backpressure.

Request rate limits. Cortex XSIAM and Google Cloud Logging can limit how many requests they send per second; reaching that limit triggers backpressure, and Backpressure behavior then determines whether Cribl Stream blocks, drops, or queues the incoming data to disk. Cortex XSIAM sets the limit in Advanced Settings > Throttle request rate limit, with a default of 400 requests per second and a maximum of 2000. Google Cloud Logging uses Advanced Settings > Throttle request rate, where an empty value sends without a limit and the maximum is 2000 requests per second.

Filesystem-based Destinations that send data to cloud-based services trigger backpressure when Cribl Stream can't move a file or upload it to the cloud. They queue events in files on disk in a staging directory. When a batch of events is ready for transmission, Cribl Stream closes the file, optionally compresses it, and transmits it to the downstream service. For the Filesystem Destination, the batch simply moves from the staging directory to the output directory. Elsewhere it uploads the file to a cloud service such as AWS S3 or Azure Blob Storage, and a failed upload triggers backpressure. The scenarios the documentation lists:

Object-based Destinations (Amazon S3, Azure Blob Storage, Google Cloud Storage, and similar) do not support Destination persistent queues; they use a local staging directory to buffer files before uploading, so their resilience depends on staging disk capacity and upload success, with no separate queue to absorb prolonged outages.

TCP-based Destinations. The Source holds a persistent connection to the Destination, re-establishing it if it detects a close or write timeout. If the connection fails, Cribl Stream uses a backoff algorithm to avoid spiking the CPU: the first retry is at 2 seconds, and the time between retries gradually increases up to a maximum of 60 seconds. The conditions that can trigger backpressure are connection failure; authentication failure; a write timeout, where the Source sends data but doesn't receive an ack at the TCP layer, in which case Cribl Stream closes the connection and tries to re-establish it; or the Destination receiving data from the Source faster than it can send it over the network to the downstream service, filling its internal buffers. When space in the internal buffers becomes available, backpressure is relieved. Some Destinations use either TCP or UDP to send messages, but they trigger backpressure and use this backoff algorithm only when used with the TCP protocol.

Kafka, Kinesis, and Pub/Sub. Cribl Stream's Kafka-based Destinations are producers that send data to Kafka brokers; since the protocol is TCP-based, the conditions that trigger backpressure are similar to those of TCP Destinations. The same four conditions apply to Kafka, Amazon Kinesis, and Google Cloud Pub/Sub: the broker or service is unreachable or down; invalid credentials that fail to authenticate; invalid permissions to publish to the topic or stream; or the Destination sending faster than the broker or service can receive, relieved once buffers have room for more events. Kinesis runs over HTTPS and behaves like Pub/Sub, which leverages gRPC and protocol buffers.

SQS. The SQS (Simple Queue Service) Destination acts as a producer that publishes messages to the provisioned SQS queue. It has five buffers with 10 events per buffer, for a total of 50 events that can be queued before backpressure is enabled. Backpressure might be generated by invalid credentials, invalid permissions, a queue that does not exist with Create Queue disabled, or lack of network connectivity.

UDP. UDP is a connectionless protocol, so there is no concept of backpressure at the network layer, and UDP Destinations will never trigger backpressure. Except for SNMP Trap, these Destinations also support TCP, but the UDP versions do not trigger backpressure.

OpenTelemetry. OpenTelemetry supports gRPC or HTTP to send messages. For gRPC, the other TCP Destinations' rules generally apply; the OpenTelemetry library handles write timeouts and reconnection logic. For HTTP, the same rules apply as to Cribl Stream's HTTP Destinations for retries based on connectivity or 500 series response codes.

Load-balanced Destinations. Some HTTP-based and some TCP-based Destinations support two modes: single host and multiple load-balanced hosts. It spreads events across the configured Destinations using a weighted algorithm based on each Destination's weight. When one is out of service (a write timeout or 500 series response for HTTP; a write timeout or connection failure for TCP), Cribl Stream removes it from the host list, moves in-flight buffers to the next available host, and resumes sending to it once the connection is restored. TCP load-balanced Destinations can be configured with one or multiple receivers; if one or more go down, Cribl Stream continues sending data to any healthy receivers.

Output Router. The Output Router is a wrapper destination that groups together a set of Destinations and is used in conjunction with event filters to route data to a selected Destination. It emits backpressure only when one of its downstream Destinations is blocking.

Configuring triggers

The documentation on destination backpressure triggers documents the following settings, which control when backpressure fires and what happens once it does:

Using them

In some situations a Kafka Destination may take a long time to engage the PQ (1 to 6 minutes by default), a delay the documentation attributes to the default Kafka Destination settings. For faster PQ engagement, use smaller values for Connection timeout and Request timeout to decrease the interval between retries, or a smaller Retry limit (or 0, to eliminate retries altogether).

For object storage Destinations, the documentation advises considering the impact of the Backpressure behavior setting on other Destinations receiving the same input data. If Block is selected and the Destination becomes unhealthy (for example, due to credential issues or network problems), it can stall delivery to all other Destinations that receive the same events. If Drop is selected, Cribl Stream discards events for the affected Destination while other Destinations continue to receive data. For archival or less critical paths, Drop may be preferable to Block to avoid stalling more important downstream Destinations. However, that means accepting potential data loss on the archive path during outages.

To detect backpressure conditions, the documentation says to use Cribl Stream's built-in Notifications for Destination Backpressure Activated or to monitor Destination health directly.

What the docs flag

External load balancers placed in front of Worker Nodes generally do not detect backpressure states within the data Pipeline. If a Worker Node still accepts network connections, the load balancer typically considers it healthy, even when event flow is blocked by downstream backpressure. The documentation says:

Two further caveats from the same page. First, 400 series HTTP responses are not retried: the Destination drops the events rather than resending them. Second, object storage Destinations have no separate queue to absorb prolonged outages, so their resilience depends on staging disk capacity and upload success.

Frequently asked questions

What triggers backpressure in Cribl Stream Destinations?

Backpressure exists when a Destination receives more data than it can currently send, and it typically results from network connectivity problems or from a Destination receiving data faster than it can forward that data to the downstream service. The conditions vary by Destination family, and for HTTP-based Destinations they include connection failure, connection or request timeouts, data overload, reaching the limit on concurrent in-flight requests, and HTTP 500 series responses.

What is the default backpressure behavior in Cribl Stream?

Where other options are not displayed, Cribl Stream's default behavior is Block, selected through a Destination's Backpressure Behavior drop-down. When a Destination signals backpressure, it notifies the Sources generating data that its buffers are full and that the incoming data flow should pause until there is room for more data.

Which Cribl Stream Destinations never trigger backpressure?

UDP Destinations will never trigger backpressure, because UDP is a connectionless protocol and there is no concept of backpressure at the network layer. Except for SNMP Trap, these Destinations also support TCP, but the UDP versions do not trigger backpressure.

How long can a Kafka Destination take to engage the PQ in Cribl Stream?

In some situations, Kafka Destinations may take a long time to engage the PQ, at 1 to 6 minutes by default. The documentation attributes the delay to the default settings used with the Kafka Destination, and says you can use smaller values for Connection timeout and Request timeout, or a smaller Retry limit (or 0, to eliminate retries altogether), for faster PQ engagement.

Source

Verified against Cribl Stream 4.20 documentation on November 25, 2026.