Overview
In this series of labs, you take a demo microservices Java application built with the Spring framework and modify it to use an external database server. You adopt some of the best practices for tracing, configuration management, and integration with other services using integration patterns.
In this lab, you enhance your application to implement a message handling service with Pub/Sub. Pub/Sub publishes a message to a topic that can then be subscribed and processed by other services.
Pub/Sub is a fully managed, real-time messaging service that enables you to send and receive messages between independent applications. Pub/Sub brings the scalability, flexibility, and reliability of enterprise message-oriented middleware to the cloud. By providing many-to-many, asynchronous messaging that decouples senders and receivers, Pub/Sub enables secure and highly available communication between independently written applications. Pub/Sub delivers low-latency, durable messaging that helps developers quickly integrate systems hosted on the Google Cloud and externally.
Objectives
In this lab, you learn how to perform the following tasks:
Enable Pub/Sub and create a Pub/Sub topic
Use Spring to add Pub/Sub support to your application
Modify an application to publish Pub/Sub messages
Create a Pub/Sub subscription
Modify an application to process messages from a Pub/Sub subscription
#gcp #googlecloud #qwiklabs #learntoearn