跳转到主要内容

K2

import { Description, Feature, LinkButton, Plan, RelatedProduct, } from "~/components";

Decouple event producers and consumers with a durable log

:::note

K2 is in public beta, and any developer with a Workers Paid plan can start using it. During the beta, each account can store up to 10 GB. To request a higher limit, refer to Limits.

:::

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, produce records to it, and consume them through a subscription.

<Feature header="Produce with a Workers binding or HTTP" href="/k2/features/produce/" cta="Produce to K2"

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

<Feature header="Configure retention period" href="/k2/configuration/#retention"

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

<Feature header="Create a subscription to consume" href="/k2/features/consume/" cta="Create a subscription"

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

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

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