Skip to content

nfawcett/valkey-glide-connection-error

Repository files navigation

Valkey Glide 2.2.0 Bug Demo

This project demonstrates a bug in Valkey Glide 2.2.0 using a simple Spring Boot application and Redis. You can observe the bug by switching the Docker build strategy in the docker-compose.yml file.

Prerequisites

  • Docker
  • Docker Compose

How to Use

  1. Clone the repository and navigate to the project root.

  2. Choose a Dockerfile build strategy: Edit the docker-compose.yml file and change the dockerfile reference under the app service as needed.

  3. Start the services:

    docker-compose up --build
  4. Observe the application behaviour to see the bug in Valkey Glide 2.2.0. The difference in behaviour between the two build strategies demonstrates the issue.

Project Structure

  • Dockerfile-jar: Builds and runs the packaged Spring Boot JAR.
  • Dockerfile-spring-boot-run: Runs the app using Maven's spring-boot:run.
  • docker-compose.yml: Defines the app and Redis services.
  • src/main/java/com/demo/test/: Contains the Spring Boot application code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages