Roger.Partition.Consumer (roger v3.1.1) View Source

Job consumer process.

This process is responsible for maintaining subscriptions to the partition's channels and receives jobs. For each job, it spawns off a worker process.

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

force_shutdown(partition_id)

View Source
Link to this function

get_queues(partition_id)

View Source

Callback implementation for GenServer.init/1.

Link to this function

pause(partition_id, queue)

View Source

Specs

pause_all(String.t()) :: :ok | nil

Pauses all running queues on current consumer

Link to this function

reconfigure(partition_id, queues)

View Source
Link to this function

resume(partition_id, queue)

View Source
Link to this function

start_link(partition_id)

View Source