Module hedwig::googlepubsub
source · Expand description
Adapters for using GCP’s PubSub as a message service for hedwig
Re-exports
pub use ya_gcp as gcp;
Modules
- A collection of traits and types used to retry asynchronous operations.
Structs
- An error encountered when issuing acks, nacks, or modifications from an
AcknowledgeToken
- A token with an associated message produced by the
StreamSubscription
stream, used to control that message’s re-delivery within the message queue. - An error encountered when building PubSub clients
- A builder used to create
ConsumerClient
andPublisherClient
instances - Configuration for creating a
ClientBuilder
- A client through which PubSub consuming operations can be performed.
- Configuration for connecting to pubsub
- A gRPC status describing the result of an RPC call.
- The default
RetryPredicate
used for errors from PubSub operations - A stream of messages from a subscription in PubSub.
- A sink for publishing messages to pubsub topics.
- A publisher for sending messages to PubSub topics
- A client through which PubSub publishing operations can be performed.
- A set of
tonic::Code
which can be efficiently checked for the presence or absence of certain code values. - Configuration for a streaming subscription request
- Configuration describing a PubSub subscription.
- A PubSub subscription name.
- Configuration describing a PubSub topic.
- A PubSub topic name.
- The URI component of a request.
Enums
- A marker to choose the mechanism by which authentication credentials should be loaded
- The possible errors encountered when creating a
ClientBuilder
- An error encountered when issuing deadline modifications with
AcknowledgeToken::modify_deadline
- Errors encountered while streaming messages from PubSub
- Errors which can occur while publishing a message
- Configuration for loading service account credentials from file
- An error that may occur when submitting messages to the
PublishTopicSink
Type Aliases
- A message received from PubSub.