Skip to content

K2

Last updated View as MarkdownAgent setup

Decouple event producers and consumers with a durable log

Available on Workers Paid plan

Cloudflare K2 is a durable log. Produce records to a log, store them for a configurable retention period, and consume them from one or more independent consumers.

Get started

Features

Create a K2 stream

Create a K2 stream, produce records to it, and consume them through a subscription.

Produce with a Workers binding or HTTP

Produce records to a K2 stream with a Workers binding or the HTTP API.

Configure retention period

Records in K2 can be stored for up to 30 days, with longer retention available by request.

Create a subscription to consume

Share records across a group of consumers, or deliver every record to multiple independent consumers, with subscriptions.


Workers

Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale.

Queues

Complete asynchronous tasks with guaranteed delivery and pull-based Worker consumers.


Was this helpful?