README

spring boot integration experiments

The following table list all sample codes related to the spring boot integrations.

NameDescriptionStatus

The application, discovers ways of interacting with Redis with different TTLs for different Caches

Completed

The application, demonstrates the way spring boot application connects with multiple databases,connection pooling and both type of database migrations (liquibase and flyway)

Completed

The application, demonstrates strategy pattern in spring application and build native image using GraalVM, use a main class to start up the application and builds nativeImage

Completed

The application, demonstrates how to apply arch unit rules to the spring boot project

Completed

The application, demonstrates how to apply hibernate envers to the spring boot project, monitor the system and alert when CPU usage is high or when system is down

Completed

The application, demonstrates the way to connect to database using graph ql using webflux

Completed

The application, demonstrates how to apply Hibernate 2nd level cache using redis in a spring boot project , testing using QueryCounting, implemented hypersistence Repository instead of default JPARepository

Completed

The application, demonstrates saving the data in Postgresql and then read from replica instance

Completed

The application, demonstrates running background jobs and scheduling the tasks using Jobrunr

Completed

The application, demonstrates running multi tenancy in JPA using different databases but same DDLs and DMLs

Completed

The application, demonstrates running multi tenancy in JPA using partition based i.e Shared Database with Shared table

Completed

The application, demonstrates running multi tenancy in JPA using schema based i.e Shared Database with Separate Schema

Completed

The application, demonstrates running multi tenancy in JPA using all strategies using multidatasources

Completed

The application, demonstrates saving the data in MongoDb and then searching in ElasticSearch for quick Search, GeoSpatial Search

WIP

The application, demonstrates the way to connect to database using graph ql and querydsl

WIP

The application, demonstrates how to apply graphql concepts to the spring boot project

WIP

The application, demonstrates how to apply choas engineering concepts to the spring boot project, test using Gatling to demonstrate the difference

WIP

The application, demonstrates how to apply feature toggles concepts to the spring boot project

WIP

The application, demonstrates how rabbitmq works with producer side acknowledgement

Completed

The application, demonstrates implementing Spring Batch 5 using simple config and creating batch tables using liquibase

Completed

This application, demonstrates ability to generate pdf API documentation using spring rest docs

Completed

For More info about this repository, Please visit here

Tech Stack

Repo is built on the following main stack:

Full tech stack here

Useful Docker Commands

Start postgres and pgadmin

docker compose up postgres pgadmin4

Clean up everything using

docker system prune -a -f --volumes

Claim unused volumes

docker volume prune

Running container

docker container ls

Useful git Commands

How to overwrite local changes with git pull

Stash local changes:

$ git stash

Pull changes from remote:

$ git pull

How to revert the changes that are pushed to remove

$ git revert $hash

Last updated