Expand description
Anti-Corruption Layer pattern.
Translates events / commands between two bounded contexts. The user
provides a Translator mapping External -> Option<Internal>
(returning None drops the message).
v1 implementation: a tokio task that reads from an
tokio::sync::mpsc::UnboundedReceiver<External> input, applies
the translator, and pushes survivors to an output
tokio::sync::mpsc::UnboundedSender<Internal>.
Structs§
- AclBuilder
- AclHandles
- Handles handed back after
Topology::materialize. - AclTopology
- Anti
Corruption - Public handle to the ACL pattern.
Traits§
- Translator
- Translate a value from one bounded context’s vocabulary to
another’s. Return
Noneto drop the value.