ConduitSQS v0.2.7 ConduitSQS.SQS View Source

Interface between ConduitSQS and SQS

Link to this section Summary

Functions

Removes messages that have been processed from the SQS queue

Retrieves the specified number of messages from the queue and converts them to Conduit messages

Converts a Conduit message to an SQS message and publishes it

Creates queues specified in the topology

Link to this section Types

Link to this type adapter_opts() View Source
adapter_opts() :: Keyword.t()
Link to this type delete_message_item() View Source
delete_message_item() :: %{id: binary(), receipt_handle: binary()}
Link to this type max_number_of_messages() View Source
max_number_of_messages() :: pos_integer()
Link to this type publish_opts() View Source
publish_opts() :: Keyword.t()
Link to this type subscriber_opts() View Source
subscriber_opts() :: Keyword.t()

Link to this section Functions

Link to this function ack_messages(delete_message_items, queue, opts) View Source
ack_messages([delete_message_item()], queue :: binary(), opts :: Keyword.t()) ::
  {:ok, term()} | {:error, term()}

Removes messages that have been processed from the SQS queue

Link to this function get_messages(queue, max_number_of_messages, subscriber_opts, adapter_opts) View Source

Retrieves the specified number of messages from the queue and converts them to Conduit messages

Link to this function publish(message, config, opts) View Source

Converts a Conduit message to an SQS message and publishes it

Link to this function setup_topology(topology, opts) View Source
setup_topology(topology(), opts()) :: [term()]

Creates queues specified in the topology