Giter Site home page Giter Site logo

spring-boot-3-redis-sentinel-with-lettuce's Introduction

Docker Compose - Spring Boot 3,Redis Sentinel,Lettuce client and Docker Compose for High availability

Run the System

We can easily run the whole with only a single command:

  • docker-compose up -d

EndPoints

Service EndPoint Method Description
Redis Key Value /v1/redis/add POST ValueOperations
Redis Key Value /v1/redis?key={key} GET ValueOperations

ReadFrom Configuration

  • MASTER: Setting to read from the upstream only.
  • MASTER_PREFERRED: Setting to read preferred from the upstream and fall back to a replica if the master is not available.
  • UPSTREAM: Setting to read from the upstream only.
  • UPSTREAM_PREFERRED: Setting to read preferred from the upstream and fall back to a replica if the upstream is not available.
  • REPLICA_PREFERRED: Setting to read preferred from replicas and fall back to upstream if no replica is available.
  • REPLICA: Setting to read from the replica only.
  • ANY: Setting to read from any node.

Spring Boot 3 Configuration

  • Before the spring boot 3 : @ConfigurationProperties(prefix = "spring.redis")
  • After the spring boot 3: @ConfigurationProperties(prefix = "spring.data.redis")

Assets

  • Redis GUI

Redis GUI


  • DockerSentinel

DockerSentinel


  • Docker

Docker

spring-boot-3-redis-sentinel-with-lettuce's People

Contributors

tugayesilyurt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

spring-boot-3-redis-sentinel-with-lettuce's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.