diff --git a/src/content/docs/queues/examples/list-messages-from-dash.mdx b/src/content/docs/queues/examples/list-messages-from-dash.mdx index a46d26396b73fad..7bdf1bd6798d741 100644 --- a/src/content/docs/queues/examples/list-messages-from-dash.mdx +++ b/src/content/docs/queues/examples/list-messages-from-dash.mdx @@ -10,6 +10,7 @@ head: description: Use the dashboard to fetch and acknowledge the messages currently in a queue. --- +import {Steps} from "~/components"; ## List messages from the dashboard @@ -17,19 +18,14 @@ Listing messages from the dashboard allows you to debug Queues or queue producer To list messages in the dashboard: + 1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account. -2. Select **Workers & Pages** > **Queues**. +2. Select **Storage & Databases** > **Queues**. 3. Select the queue to preview messages from. 4. Select the **Messages** tab. -5. Select **Queued Messages**. -6. Select a maximum batch size of messages to fetch. The size can be a number from 1 to 100. If a consumer Worker is configured, this defaults to your consumer Worker's maximum batch size. - -![A form to configure how many messages are listed at a time, with a number input showing '10'](~/assets/images/queues/examples/fetch-message-batch-size.png) - -7. Select **List messages**. -8. When the list of messages loads, select the blue arrow to the right of each row to expand the message preview. - -![A table showing two previewed messages, one text and one JSON, both with some placeholder text](~/assets/images/queues/examples/fetched-messages.png) +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. + This will preview a batch of messages currently in the Queue. @@ -37,9 +33,11 @@ This will preview a batch of messages currently in the Queue. Acknowledging messages from the [Cloudflare dashboard](https://dash.cloudflare.com) will permanently remove them from the queue, with equivalent behavior as `ack()` in a Worker. + 1. Select the checkbox to the left of each row to select the message for acknowledgement, or select the checkbox in the table header to select all messages. 2. Select **Acknowledge messages**. 3. Confirm you want to acknowledge the messages, and select **Acknowledge messages**. + This will remove the selected messages from the queue and prevent consumers from processing them further.