ExGcloudPubsubPuller v0.5.4 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
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
pull(subscription_id, max_messages \\ 100)
View Source
pull(String.t(), integer()) ::
{:ok, [GoogleApi.PubSub.V1.Model.ReceivedMessage.t()]}
| {:error, Tesla.Env.t()}
pull(String.t(), integer()) :: {:ok, [GoogleApi.PubSub.V1.Model.ReceivedMessage.t()]} | {:error, Tesla.Env.t()}
Pulls messages from the given Google PubSub subscription.