plug_pubsub v0.1.0 PlugPubsub.Consumer
Consumes messages from a Queue SQS
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Main process to handle message pull from AWS SQS queue
Set up queue consumer
Process messages data from pulled messages
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
handle_messages()
Main process to handle message pull from AWS SQS queue
Link to this function
init(atom)
Set up queue consumer
Link to this function
process_messages(messages)
Process messages data from pulled messages
Examples
iex> PlugPubSub.process_messages(messages)
{:ok}
Link to this function
schedule_check(check_interval \\ 1000)
Link to this function