ExGcloudPubsubPuller v1.1.1 ExGcloudPubsubPuller.Gcloud.Pubsub View Source

Interface to the Google Cloud PubSub system.

Link to this section Summary

Functions

Sends an acknowledge request to Google Cloud for the given message on the given subscription.

Pulls messages from the given Google PubSub subscription.

Link to this section Functions

Link to this function

acknowledge(subscription_id, message_ack_id) View Source
acknowledge(String.t(), String.t()) :: :ok | {:error, Tesla.Env.t()}

Sends an acknowledge request to Google Cloud for the given message on the given subscription.

Link to this function

pull(subscription_id, max_messages \\ 100) View Source

Pulls messages from the given Google PubSub subscription.