docs: update queue documentation for fan-out delivery semantics#1391
docs: update queue documentation for fan-out delivery semantics#1391
Conversation
The queue fan-out per function feature (PR #1384) changed how topic-based queues deliver messages: each subscribed function now receives every message (fan-out), while replicas of the same function compete on a shared per-function queue. Updated docs to reflect this: - module-queue.mdx: rewrote topic-based queues section with fan-out explanation, added Info callout, delivery row in comparison table, RabbitMQ per-function naming table, fan-out sequence diagram, and updated enqueue builtin function description. - module-pubsub.mdx: fixed PubSub vs Queue comparison table — "Single consumer per message" was incorrect after fan-out; now reads "Fan-out to each subscribed function; replicas compete". - use-queues.mdx: comprehensive rewrite covering what queues are, when to use/avoid them, both queue modes (topic-based + named), fan-out delivery with diagrams, condition filtering, HTTP-to-queue pipeline, event fan-out scenario, FIFO ledger, and bulk email rate limiting.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughDocumentation restructured to distinguish topic-based queues (fan-out to multiple subscribed functions with competing replicas) from named queues (FIFO acknowledgment-based). Updated queue delivery semantics explanation, added fan-out delivery diagrams, and revised real-world scenarios and comparison tables across queue and pubsub modules. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
enqueuebuiltin function description.Follows up on #1384 (feat: queue fan-out per function).
Test plan
Summary by CodeRabbit