You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/queues/examples/list-messages-from-dash.mdx
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,36 +10,34 @@ head:
10
10
description: Use the dashboard to fetch and acknowledge the messages currently in a queue.
11
11
12
12
---
13
+
import {Steps} from"~/components";
13
14
14
15
## List messages from the dashboard
15
16
16
17
Listing messages from the dashboard allows you to debug Queues or queue producers without a consumer Worker. Fetching a batch of messages to preview will not acknowledge or retry the message or affect its position in the queue. The queue can still be consumed normally by a consumer Worker.
17
18
18
19
To list messages in the dashboard:
19
20
21
+
<Steps>
20
22
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
21
-
2. Select **Workers & Pages** > **Queues**.
23
+
2. Select **Storage & Databases** > **Queues**.
22
24
3. Select the queue to preview messages from.
23
25
4. Select the **Messages** tab.
24
-
5. Select **Queued Messages**.
25
-
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.
26
-
27
-

28
-
29
-
7. Select **List messages**.
30
-
8. When the list of messages loads, select the blue arrow to the right of each row to expand the message preview.
31
-
32
-

26
+
5. Select **List**.
27
+
6. When the list of messages loads, select the blue arrow to the right of each row to expand the message preview.
28
+
</Steps>
33
29
34
30
This will preview a batch of messages currently in the Queue.
35
31
36
32
## Acknowledge messages from the dashboard
37
33
38
34
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.
39
35
36
+
<Steps>
40
37
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.
41
38
2. Select **Acknowledge messages**.
42
39
3. Confirm you want to acknowledge the messages, and select **Acknowledge messages**.
40
+
</Steps>
43
41
44
42
This will remove the selected messages from the queue and prevent consumers from processing them further.
0 commit comments