Spring Cloud GCP
Last updated
Was this helpful?
Last updated
Was this helpful?
Spring Cloud GCP contains a set of easy to use starters/autoconfigurations that allow you to easily connect and adopt GCP services.
Spring Cloud GCP is part of the Spring Cloud release train.
Or, generate the project using curl
:
Unpack the downloaded zip file:
The generated project will include Spring Cloud release train BOM.
If you want to add Spring Cloud GCP to existing project, simply add Spring Cloud release train configuration. Different Spring Boot version is compatible with different Spring Cloud releases.
Spring Boot Version
Spring Cloud Version
2.1
Greenwich
2.2
Hoxton
2.3
Hoxton.SR5
Add the compatible Spring Cloud BOM version to your project:
Spring Cloud GCP supports many GCP services using de-facto Spring abstraction layers.
Concerns
GCP Service
Spring Abstraction
Databases
Cloud SQL
JDBC template
Spring Data JPA
Cloud Spanner
Spring Data Spanner
Spring Data JPA with Hibernate
Cloud Datastore
Spring Data Datastore
Cloud Firestore
Spring Reactive Data Firestore
Messaging
Cloud Pub/Sub
Pub/Sub Template
Spring Integration
Spring Cloud Stream
Spring Dataflow
Configuration
Cloud Secret Manager
Spring Cloud Config
Storage
Cloud Storage
Spring Resource
Cache
Cloud Memorystore
Spring Data Redis
Distributed Tracing
Cloud Trace
Spring Cloud Sleuth
Zipkin / Brave
Centralized Logging
Cloud Logging
SLF4J / Logback
Monitoring Metrics
Cloud Monitoring
Micrometer / Prometheus
Security
Cloud Identity Aware Proxy
Spring Security
Create a new Spring Boot project use , and add the .
See for the latest versions.