Google Cloud Native with Spring Boot
summary
Demonstrates Spring Cloud GCP starters that wire Spring Boot to real GCP services: secure Cloud SQL connections via an ephemeral SSL socket factory, Cloud Spanner with Spring Data (globally distributed, strongly consistent relational DB; use UUID string IDs, avoid monotonic sequences), Stackdriver tracing via Spring Cloud Sleuth, centralized Stackdriver logging, Pub/Sub channel adapters, and deployment tooling using Jib to build images and deploy to Kubernetes and App Engine. Builds a Kotlin microservice, writes and reads data, publishes/consumes Pub/Sub messages, exports traces/logs and uses Stackdriver Debugger — the demos run live with minor hiccups.
AI-written summary · about
chapters (11)
- 0:00Start
- 8:00connect to a sequel database
- 15:05add the spring data spinner starter
- 17:47use the spanner configuration
- 18:12create a new database
- 24:52add spring cloud sleuth dependencies
- 26:19export the log via json format
- 26:56add a little log configuration
- 37:19deploy this into a kubernetes cluster
- 47:32add a new log message
- 49:39add a production debugger
related talks
27mCloud Native with Spring Boot on Google Cloud Platform
52mSpring to Google Cloud Native
50mPower of Google Cloud Platform with Spring Cloud GCP - Mark Fisher, João Martins
57mDebugging Java in Production on Google Cloud Platform
03mInterview with Jisha Abubaker
39mMobile Backends with Kotlin and Google Cloud
50mCloud Jump Start for Java Developers
52mKubernetes Native Java
