Google Cloud Structured Logging for Java Applications
One advice for logging that I have seen when targeting applications to cloud platforms is to simply write to Standard Out and platform takes care of sending it to the appropriate log sinks. This...
View ArticleGoogle Cloud Functions (2nd Gen) Java Sample
Cloud Functions (2nd Gen) is Google’s Serverless Functions as a Service Platform. 2nd Generation is now built on top of the excellent Google Cloud Run as a base. Think of Google Cloud Run as a...
View ArticleGoogle Cloud Function Gradle Plugin
It is easy to develop a Google Cloud Function using Java with Gradle as the build tool. It is however not so simple to test it locally.The current recommended approach to testing especially with...
View ArticleSkaffold for Local Java App Development
Skaffold is a tool which handles the workflow of building, pushing and deploying container images and has the added benefit of facilitating an excellent local dev loop. In this post I will be exploring...
View ArticleCloud Deploy with Cloud Run
Google Cloud Deploy is a service to continuously deploy to Google Cloud Application runtimes. It has supported Google Kubernetes Engine(GKE) so far, and now is starting to support Cloud Run. This post...
View ArticleCloudEvent Basics
CloudEvent is a way of describing events in a common way. This specification is starting to be adopted across different event producers across Cloud Providers, which over time will provide these...
View ArticleSkaffold for Cloud Run and Local Environments
In one of my previous posts, I had explored using Cloud Deploy to deploy to a Cloud Run environment. Cloud Deploy uses a Skaffold file to internally orchestrate the steps required to build an image,...
View ArticleCloud Run Health Checks — Spring Boot App
Cloud Run services now can configure startup and liveness probes for a running container.The startup probe is for determining when a container has cleanly started up and is ready to take traffic. A...
View ArticleBigtable Pagination in Java
Consider a set of rows stored in Bigtable table called “people”:My objective is to be able to paginate a few records at a time, say with each page containing 4 records:Page 1:Page 2:Page 3:High-Level...
View ArticleEventArc with CloudRun
Google Cloud EventArc provides a simple way to act on events generated by a variety of Google Cloud Services.Consider an example.When a Cloud Build trigger is run, I want to be notified of this event...
View Article