Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@ Once authentication is turned on, you will need to include a Cloudflare API toke

### Get API token

1. In the Cloudflare dashboard, go to the **Account API tokens** page.

<DashButton url="/?to=/:account/api-tokens" />

2. Select **Create Token**.
3. Choose the template for Workers Pipelines. Select **Continue to summary** > **Create token**. Make sure to copy the API token and save it securely.
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverts change done in #24932 -- we need to create a User API Token after all, not an Account API Token.

2. Go to **My Profile** > [API Tokens](https://dash.cloudflare.com/profile/api-tokens).
3. Select **Create Token**.
4. Choose the template for Workers Pipelines. Select **Continue to summary** > **Create token**. Make sure to copy the API token and save it securely.

### Making authenticated requests

Expand Down
5 changes: 3 additions & 2 deletions src/content/docs/queues/configuration/pull-consumers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ head:
content: Cloudflare Queues - Pull consumers
---

import { WranglerConfig } from "~/components";
import { WranglerConfig, DashButton } from "~/components";

A pull-based consumer allows you to pull from a queue over HTTP from any environment and/or programming language outside of Cloudflare Workers. A pull-based consumer can be useful when your message consumption rate is limited by upstream infrastructure or long-running tasks.

Expand Down Expand Up @@ -102,7 +102,8 @@ You may authenticate and run multiple concurrent pull-based consumers against a

To create an API token:

1. Go to the API tokens page of the [Cloudflare dashboard](https://dash.cloudflare.com/profile/api-tokens/).
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not account level, but still updating it to be consistent.

2. Go to **My Profile** > [API Tokens](https://dash.cloudflare.com/profile/api-tokens).
2. Select **Create Token**.
3. Scroll to the bottom of the page and select **Create Custom Token**.
4. Give the token a name. For example, `queue-pull-token`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sidebar:
import {
Steps,
LinkCard,
DashButton,
} from "~/components";

Learn how to:
Expand All @@ -24,7 +25,10 @@ Creating a subscription allows your queue to receive messages when events occur
### Dashboard

<Steps>
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
1. In the Cloudflare dashboard, go to the **Queues** page.

<DashButton url="/?to=/:account/workers/queues" />

2. Select the queue you want to add a subscription to.
3. Switch to the **Subscriptions** tab.
4. Select **Subscribe to events**.
Expand All @@ -49,7 +53,10 @@ You can view all subscriptions configured for a queue to see what events it is c
### Dashboard

<Steps>
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
1. In the Cloudflare dashboard, go to the **Queues** page.

<DashButton url="/?to=/:account/workers/queues" />

2. Select the queue you want to view subscriptions for.
3. Switch to the **Subscriptions** tab.
</Steps>
Expand All @@ -69,7 +76,10 @@ When you delete a subscription, your queue will stop receiving messages for thos
### Dashboard

<Steps>
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
1. In the Cloudflare dashboard, go to the **Queues** page.

<DashButton url="/?to=/:account/workers/queues" />

2. Select the queue containing the subscription you want to delete.
3. Switch to the **Subscriptions** tab.
4. Select **...** for the subscription you want to delete.
Expand Down
18 changes: 10 additions & 8 deletions src/content/docs/queues/examples/list-messages-from-dash.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ head:
- tag: title
content: Cloudflare Queues - Listing and acknowledging messages from the dashboard
description: Use the dashboard to fetch and acknowledge the messages currently in a queue.

---
import {Steps} from "~/components";

import { Steps, DashButton } from "~/components";

## List messages from the dashboard

Expand All @@ -19,12 +19,14 @@ Listing messages from the dashboard allows you to debug Queues or queue producer
To list messages in the dashboard:

<Steps>
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
2. Select **Storage & Databases** > **Queues**.
3. Select the queue to preview messages from.
4. Select the **Messages** tab.
5. Select **List**.
6. When the list of messages loads, select the blue arrow to the right of each row to expand the message preview.
1. In the Cloudflare dashboard, go to the **Queues** page.

<DashButton url="/?to=/:account/workers/queues" />

2. Select the queue to preview messages from.
3. Select the **Messages** tab.
4. Select **List**.
5. When the list of messages loads, select the blue arrow to the right of each row to expand the message preview.
</Steps>

This will preview a batch of messages currently in the Queue.
Expand Down
7 changes: 5 additions & 2 deletions src/content/docs/queues/platform/audit-logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ sidebar:
order: 10
---

import { DashButton } from "~/components";

[Audit logs](/fundamentals/account/account-security/review-audit-logs/) provide a comprehensive summary of changes made within your Cloudflare account, including those made to Queues. This functionality is always enabled.

## Viewing audit logs

To view audit logs for your Queue:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/?account=audit-log) and select your account.
2. Go to **Manage Account** > **Audit Log**.
1. In the Cloudflare dashboard, go to the **Audit logs** page.

<DashButton url="/?to=/:account/audit-log" />

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be in a bullet point?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not. :)
I went a bit back and forth and ended up leaving it as a single-item list, but I will remove it.

For more information on how to access and use audit logs, refer to [Review audit logs](/fundamentals/account/account-security/review-audit-logs/).

Expand Down
11 changes: 7 additions & 4 deletions src/content/partials/queues/enable-queues.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
---
{}

---

import { DashButton } from "~/components";

Queues are included in the monthly subscription cost of your Workers Paid plan, and charges based on operations against your queues. Refer to [Pricing](/queues/platform/pricing/) for more details.

Before you can use Queues, you must enable it via [the Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers/queues). You need a Workers Paid plan to enable Queues.

To enable Queues:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
2. Go to **Workers & Pages** > **Queues**.
3. Select **Enable Queues**.
1. In the Cloudflare dashboard, go to the **Queues** page.

<DashButton url="/?to=/:account/workers/queues" />

2. Select **Enable Queues**.