Redis: add support for username and sentinel username fields

未关闭
#84 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

@ddubson 已经在做这个了。

开始于 2022年10月6日。

  • #85 来自 @ddubson —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
25/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
java, redis
领域
backend

调研方向

The Redis binding fields are declared in the Java source of spring-cloud-bindings, most likely in the Redis binding class that maps spring.redis.* properties. Read how the existing password and sentinel properties are mapped and add the username and sentinel username fields the same way. Issue #84 already has an open linked pull request (#85), so check that before starting; done means the three properties bind and tests cover them.

由索引模型根据 Issue 内容生成。

描述

Current implementation of Redis bindings does not support the spring.redis.username and spring.redis.sentinel.username fields, however these fields, while optional, are critical for connecting to Redis services in many cases. For consistency, spring.redis.sentinel.password should also be bound.

Proposal

Add spring.redis.username to be bound to {username}
Add spring.redis.sentinel.username to be bound to {sentinel.username}
Add spring.redis.sentinel.password to be bound to {sentinel.password}

References

主要语言
Java
星标
50
派生
33
平均合并
6 天 2 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

spring-cloud/spring-cloud-bindings 的其他 Issue

查看 spring-cloud/spring-cloud-bindings 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。