Redis Java example

  • Simple example to showcase Redis capabilities.

  • Run docker-compose up -d before starting app.

  • This example will store and retrieve data.

  • This will set the expiry to 5 seconds.

  • And then check to see if data is found.