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.
- Docker
- Docker Compose
-
Clone the repository and navigate to the project root.
-
Choose a Dockerfile build strategy: Edit the
docker-compose.ymlfile and change thedockerfilereference under theappservice as needed. -
Start the services:
docker-compose up --build
-
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.
Dockerfile-jar: Builds and runs the packaged Spring Boot JAR.Dockerfile-spring-boot-run: Runs the app using Maven'sspring-boot:run.docker-compose.yml: Defines the app and Redis services.src/main/java/com/demo/test/: Contains the Spring Boot application code.