From the course: Data Science on Google Cloud Platform: Building Data Pipelines

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Subscribers

Subscribers

- [Instructor] Subscribers receive messages from a topic in Pub/Sub. Pub/Sub keeps track of the last message sent to the subscriber, and then sends new messages as they occur. There can be multiple subscriptions per topic. Each subscription can be at a different offset of the message que, and they continue to receive messages from wherever they are active. Subscribers can use a pull mechanism to pull messages based on an offset. Alternatively, Pub/Sub can also push data to a subscriber if a callback function or URL is registered with Pub/Sub. Subscribers are used to post-process messages received and implement business processing logic. There are a number of interface options available for subscribers. They include programming SDKs for many popular programming languages, REST APIs for external applications, gsutil command line, and the Console UI. There are a number of reasons why subscribers are built. They are used to collect events from topics and archive them to Cloud Storage…

Contents