spring-projects / spring-projects/spring-session

How can i develop a composite SessionRepository?

Open
#3,181 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage type: enhancement
Dominant language
Java
Stars
1.9k
Forks
1.2k
Avg merge
4h 27m
Merged PRs (30d)
55

Description

Expected Behavior

customer sessionrepository bean registry not used an enumeration.
Current Behavior
just support only one sessionrepository with in enumeration StoreType

Context
i want to develop a composite sessionrepository when redis is down can use a localsessionrepository

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the SessionRepository bean and StoreType enumeration currently select a single repository. Investigate the Redis and LocalSessionRepository paths and determine how a composite repository should fall back when Redis is unavailable. Done means the expected composite behavior and repository selection are defined and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.