Dead-letter destination derivation.
This module provides transport-aware defaults so most topics do not need any explicit DLQ topic configuration.
Convention (default): append .dl to the transport-specific destination name.
Dead-letter destination derivation. This module provides transport-aware defaults so most topics do not need any explicit DLQ topic configuration. Convention (default): append `.dl` to the transport-specific destination name.
(dlq-destination routing topic envelope)Returns a map describing how to publish to a topic's DLQ destination.
Output keys:
:topic keyword (derived, e.g. :orders.dl):producer keyword (same as the original subscription producer/client key):options map of backend-specific overrides when the topic config uses explicit names
(e.g. redis :stream, kafka :kafka-topic, jetstream :subject).Suffix can be overridden per-topic via routing :deadletter {:suffix ".dl"}.
Returns a map describing how to publish to a topic's DLQ destination.
Output keys:
- `:topic` keyword (derived, e.g. :orders.dl)
- `:producer` keyword (same as the original subscription producer/client key)
- `:options` map of backend-specific overrides when the topic config uses explicit names
(e.g. redis :stream, kafka :kafka-topic, jetstream :subject).
Suffix can be overridden per-topic via routing `:deadletter {:suffix ".dl"}`.(dlq-topic-key topic)Returns the derived DLQ topic keyword for an original topic keyword.
Example: :orders -> :orders.dl
Returns the derived DLQ topic keyword for an original topic keyword. Example: :orders -> :orders.dl
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |