View Source API Reference rabbitmq_stream v0.4.0-rc.2

Modules

Responsible for encoding and decoding messages, opening and maintaining a socket connection to a single node. It connects to the RabbitMQ, and authenticates, and mantains the connection open with heartbeats.

Defines the interface a Connection Module that interacts with the Streams Protocol TCP/TLS API.

Used to declare a Persistent Consumer module. It is able to process chunks by implementing the handle_chunk/1 or handle_chunk/2 callbacks.

Behavior for flow control strategies.

Behavior for offset tracking strategies. If you pass multiple strategies to the consumer, which will be executed in order, and and halt after the first one that returns a :store request.

Struct that holds the data of a Osiris chunk, which is the format used by RabbitMQ Stream to store the stream data.

RabbitMQStream.Producer allows you to define modules or processes that publish messages to a single stream.

A Superconsumer spawns a Consumer process for each partition of the stream.

A Superproducer spawns a Producer process for each partition of the stream, and uses the routing_key/2 callback to forward a publish command to the producer of the partition.