docs: RabbitMQ connection and queue arguments pages, application lifecycle, raw bytes content-type - #3124
Closed
Lancetnik wants to merge 16 commits into
Closed
docs: RabbitMQ connection and queue arguments pages, application lifecycle, raw bytes content-type#3124Lancetnik wants to merge 16 commits into
Lancetnik wants to merge 16 commits into
Conversation
…nnect() vs start() Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ample Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…xit() Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… to set one Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…he reader's task Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Lancetnik
marked this pull request as draft
September 12, 2026 18:56
…chors, drop orphan dependency stubs, add Confluent ack specifics Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…eference pages Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
# Conflicts: # docs/docs/en/confluent/message.md # docs/docs/en/getting-started/cli.md # docs/docs/en/getting-started/context.md # docs/docs/en/getting-started/lifespan/test.md # docs/docs/en/getting-started/observability/logging.md # docs/docs/en/getting-started/subscription/test.md
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- SetupError for Kafka/Confluent misconfiguration fires when the subscriber is declared, not at startup - confluent/message.md: split wrapper fields from confluent_kafka.Message methods, like the kafka page - redis/message.md: drop decoded_body, it no longer exists; streams/ack.md annotates RedisStreamMessage - publishing/index.md: bytes leave the content type empty (Kafka/NATS send an empty header), MQTT has no way to set it - lifecycle.md: stop() hook order, CLI extra options, redelivery only for acknowledging subscribers - queue_arguments.md: subscribers declare and consume in order, so the dead-letter subscriber goes first; x-delivery-limit needs NACK_ON_ERROR; reject-publish-dlx is classic-only - connection.md: publishers declare exchanges only - no_ack include: no literal msg.ack() signature, Redis streams need redis/group arguments - scheduling.md: one pending schedule per subject, consistent with the examples Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…at the old URL Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
# Conflicts: # docs/docs/en/getting-started/integrations/django/index.md
www.uvicorn.org no longer answers; the link check added to the docs job in #3194 would fail on it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Lancetnik
marked this pull request as ready for review
September 21, 2026 16:08
Lancetnik
requested review from
borisalekseev and
powersemmi
as code owners
September 21, 2026 16:08
Lancetnik
marked this pull request as draft
September 21, 2026 16:09
This was referenced Sep 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes the documentation gaps that Context7 users hit most often. Each item is a question we had no page for; the answers were only in source or tests.
rabbit/connection.md): the AMQP URL vs.host/port/virtualhost/ssl_optionskeyword arguments and their precedence, virtual host handling, one broker per virtual host, and the difference betweenconnect()andstart().declare.mdnow points at that section becausedeclare_queue/declare_exchangeneed an open connection.rabbit/queue_arguments.md): how to passx-*arguments throughRabbitQueue(arguments=...), a table of the common ones per queue type, thePRECONDITION_FAILEDtrap on redeclaration, and a full dead letter queue section with a runnable example (RejectMessage→ DLX → DLQ,x-deathheader).getting-started/lifespan/lifecycle.md): the contracts ofrun(),start(),stop()andexit(), who owns the signal handlers, how to embed FastStream in your own event loop, why tworun()s in one process don't work, and how ASGI andTestAppfit in. One snippet per broker.getting-started/publishing/index.md): bytes are sent without acontent-typeheader; how to set one throughheaders=or, for RabbitMQ, thecontent_type=argument; what the consumer sees.Test plan
tests/docs/rabbit/test_connection.py— in-memory, checks the built URLs and the two-vhost applicationtests/docs/rabbit/test_dead_letter.py—connected, run against a localrabbitmq:3.13-alpine: the rejected message reaches the DLQ handlertests/docs/getting_started/lifespan/test_manual_run.py— in-memory for all six brokers, drivesserve()as a task and stops it through the eventruff check/ruff formaton the new test filesmkdocs build --strictfor the new pages and links🤖 Generated with Claude Code