roger v1.0.0 Roger.Queue

Functions related to queues.

Summary

Functions

Given a partition and a queue type, construct the Queue’s name for RabbitMQ

Flushes all messages on the given queue

Types

t()
t :: %Roger.Queue{channel: term, confirmed: term, consumer_tag: term, max_workers: term, type: term}

Functions

define(arg)
define(type, max_workers)
make_name(partition_id, type, postfix \\ "")

Given a partition and a queue type, construct the Queue’s name for RabbitMQ.

purge(partition_id, queue_type)

Flushes all messages on the given queue.