DZone Database Zone
Spring Boot + CockroachDB in Kubernetes/OpenShift
TL;DR: In this post, we look at how to use CockroachDB inside a Spring Boot application. Read on for the details.
In my previous post, I showed why CockroachDB might help you if you need a cloud-native SQL database for your application. I explained how to install it in Kubernetes/OpenShift and how to validate that the data is replicated correctly.
In this post, I am going to show you how to use Cockroach DB in a Spring Boot application. Notice that Cockroach DB is compatible with PostgresSQL driver, so in terms of configuration, it is almost the same.
No comments:
Post a Comment