kane v0.4.0 Kane.Subscription

Link to this section Summary

Functions

Find a subscription by name. The name can be either a short name (my-subscription) or the fully-qualified name (projects/my-project/subscriptions/my-subscription)

Link to this section Types

Link to this type s()
s() :: %Kane.Subscription{ack_deadline: term, name: binary, topic: term}

Link to this section Functions

Link to this function ack(sub, messages)
Link to this function data(subscription, atom)
Link to this function data(subscription, atom, max)
Link to this function find(name)
find(String.s) :: {:ok, s} | Error.s

Find a subscription by name. The name can be either a short name (my-subscription) or the fully-qualified name (projects/my-project/subscriptions/my-subscription)

Link to this function full_name(name)
Link to this function path(name, kind)
Link to this function pull(sub, maxMessages \\ 100)