kuldeepsingh99 / redis-sentinel

Spring boot My SQL with Redis Sentinel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Set up Redis Sentinel with Spring Boot & MySql

Redis Setup

In this example we have set up 1 Master node 2 slaves and 2 sentinel nodes

In the customer service we are using MYSQL as Database

Design

Building Service Image

Run the Service & Redis

  • Copy all redis-sentinel folder and docker-compose.yaml file to any directory

  • We need to execute this SQL to create Table

  • docker-compose up -d to start the container

About

Spring boot My SQL with Redis Sentinel


Languages

Language:Java 90.2%Language:Dockerfile 6.2%Language:Shell 3.6%