spring-cloud / spring-cloud/spring-cloud-gateway
Question: Sticky session in routes with load balancer
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.9k
- Forks
- 3.5k
- Avg merge
- 20h 57m
- Merged PRs (30d)
- 8
Description
Question/Enhancement:
Is there any plans to support sticky session for the load-balanced routes?
Currently, I found out the way how to do it via override LoadBalancerClientFilter and create custom "sticky" ribbon rule.
But I wonder maybe there are any plans to do it "out of the box"?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with LoadBalancerClientFilter and the custom sticky Ribbon rule described in the issue to understand how load-balanced routes currently select instances. The issue asks whether sticky sessions should be supported out of the box, so completion would require a decided design and corresponding implementation scope; no specific file or test is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100