Liking cljdoc? Tell your friends :D

d-core.core.messaging.dead-letter.destination

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.
raw docstring

default-suffixclj


dlq-destinationclj

(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"}`.
raw docstring

dlq-topic-keyclj

(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
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close