There are many available resources to get you up to speed with our libraries as quickly as possible.
There are three entries in Spring Initializr for Spring Cloud GCP:
The GCP Support entry contains auto-configuration support for every Spring Cloud GCP integration. Most of the autoconfiguration code is only enabled if other dependencies are added to the classpath.
Spring Cloud GCP Starter | Required dependencies |
---|---|
Logging | org.springframework.cloud:spring-cloud-gcp-starter-logging |
SQL - MySql | org.springframework.cloud:spring-cloud-gcp-starter-sql-mysql |
SQL - PostgreSQL | org.springframework.cloud:spring-cloud-gcp-starter-sql-postgres |
Trace | org.springframework.cloud:spring-cloud-gcp-starter-trace |
The GCP Messaging entry adds the GCP Support entry and all the required dependencies so that the Google Cloud Pub/Sub integrations work out of the box.
The GCP Storage entry adds the GCP Support entry and all the required dependencies so that the Google Cloud Storage integrations work out of the box.
There are code samples available that demonstrate the usage of all our integrations.
The Vision API sample shows how to use spring-cloud-gcp-starter
for authentication.
In a code challenge, you perform a task step by step, using one integration. There are a number of challenges available in the Google Developers Codelabs page.
A Spring Getting Started guide on messaging with Spring Integration Channel Adapters for Google Cloud Pub/Sub is available from Spring Guides.