Conduit v0.2.1 API Reference

Modules

Defines the behavior for an adapter

Defines a Conduit Broker

Provides macros for setting up a message broker, subscribing to queues, publishing messages, and pipelines for processing messages

Formats and parses a message body based on the content type given

Handles converting a message body to and from JSON

Encodes and decodes a message body based on the content encoding given

Handles encoding a message body to and from gzip

Does nothing to the body of the message. Sets the content encoding to identity

The Conduit message

Defines the plug behavior

A module that can be used to build pipelines of plugs

Assigns a UUID for the correlation ID of the message if one isn’t present and always assigns it to the logger metadata

Decodes the message body based on the content encoding

Encodes the message body based on the content encoding

Formats the message body based on the content type

Logs an incoming message and how long it takes to process it

Logs an outgoing message and how long it takes to process it

Parses the message body based on the content type

Assigns a timestamp to meta

Provides functions and macros for handling incoming messages