Spring Cloud GCP offers a wide collection of libraries that make it easier to use Google Cloud Platform from Spring Framework applications. We will be using the Spring Cloud GCP Pub/Sub Support (Spring Integration and Spring Cloud Stream Binder). Check this documentation for detailed information.
Remember our Stackdriver logs and the PubSub topic from the previous article? All these reside in a Google Cloud Project and my project was CHITTI. Each project can have several service accounts and we’ll need the credentials of the relavant Service Account as a json file, in order to communicate to the project from our Spring Boot application.
#programming #spring-cloud #spring