storage-address verified
Where message bodies are kept
storage-address: Connection string for an external store holding message bodies, so that jobs travelling through the broker carry only a key.
Values
- Values
mongodb:// · couchbase:// · sqlite:// · mysql:// · postgresql:// · file:// · s3:// · http(s)://- Default
· taken from the build- applying
restart required- where it can be set
in the config file · with a startup flag · as an environment variable
In detail
Empty by default, meaning bodies travel inside the jobs. Turning this on changes the economics of a large installation: the broker stops holding message bodies in memory, and a job becomes a small JSON object with a key instead of a mime string. The supported backends are unusually broad — MongoDB (the vendor's recommendation), Couchbase, SQLite, MySQL, PostgreSQL, a plain directory, AWS S3, and an HTTP endpoint — which means the store can be something the customer already runs. The cost is a new dependency in the delivery path. A body that cannot be fetched is a message that cannot be sent, and the three timing directives below exist precisely to decide what happens then.