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/configuration/local-development.mdx
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ wrangler --version
27
27
```
28
28
29
29
```sh output
30
-
⛅️ wrangler 3.1.0
30
+
⛅️ wrangler 4.13.2
31
31
```
32
32
33
33
Start a local dev session
@@ -39,8 +39,7 @@ npx wrangler dev
39
39
40
40
```sh output
41
41
------------------
42
-
wrangler dev now uses local mode by default, powered by 🔥 Miniflare and 👷 workerd.
43
-
To run an edge preview session for your Worker, use wrangler dev --remote
42
+
Your Worker and resources are simulated locally via Miniflare. For more information, see: https://developers.cloudflare.com/workers/testing/local-development.
44
43
⎔ Starting local server...
45
44
[mf:inf] Ready on http://127.0.0.1:8787/
46
45
```
@@ -66,10 +65,11 @@ producer-worker/
66
65
└── index.ts
67
66
```
68
67
69
-
You can start the development server for both workers with the following command:
68
+
You can start development servers for both workers with the following command:
70
69
```sh
71
70
npx wrangler dev -c wrangler.jsonc -c consumer-worker/wrangler.jsonc --persist-to .wrangler/state
72
71
```
72
+
73
73
```sh output
74
74
⛅️ wrangler 4.13.2
75
75
-------------------
@@ -85,7 +85,10 @@ No bindings found.
85
85
```
86
86
87
87
When the producer Worker sends messages to the queue, the consumer Worker will automatically be invoked to handle them.
88
+
:::note
89
+
[Consumer concurrency](/queues/configuration/consumer-concurrency/) is not supported while running locally.
90
+
:::
88
91
89
92
## Known Issues
90
-
93
+
- Queues does not support using Wrangler remote mode.
91
94
- When developing locally, you can not connect your Worker to the remote queue. Hence, Queues does not yet support `wrangler dev --remote`.
0 commit comments