Skip to content

hselvarajan/springboot-redis-session-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-redis-session-demo

Simple demo with spring boot configuration for redis-persisted sessions. This uses pivotal's redis-store session manager. Intended very much as a proof-of-concept and based on the Spring Boot "Hello World" sample.

Building

Run gradle build

Running

Run gradle bootRun. The demo is configured to connect to Redis at localhost:32768, the default port assigned by Docker. You can override these by setting the redis.session-store.port and redis.session-store.host properties in src/main/resources/application.properties.

Testing

  1. Run the redis-cli and the MONITOR command
  2. Run curl -v http://localhost:8080/set?value=<any value>.
  3. Watch the activity on the Redis server

About

Simple demo with spring boot configuration for redis-persisted sessions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages