redis的用户名配置适配username
Open
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
com.alicp.jetcache.autoconfigure.RedisAutoConfiguration$RedisAutoInit parsePool
String user = ct.getProperty("user", (String) null);
未配置user的话尝试用username获取
因为spring.data.redis.username 使用的是username,会导致用户理所当然的以为用户名配置也是username
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at com.alicp.jetcache.autoconfigure.RedisAutoConfiguration$RedisAutoInit.parsePool and inspect how the Redis user property is read. Verify the existing user setting remains supported and that the Spring-style username setting is used when user is absent; confirm the configuration behavior with the relevant tests or project test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100