Redis: add support for username and sentinel username fields

Đang mở
#84 1 bình luận 2 reaction 0 người được giao Xem trên GitHub

@ddubson đang làm issue này rồi.

Từ ngày 6/10/2022.

  • #85 của @ddubson — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java, redis
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
50
Fork
33
Merge trung bình
6 ngày 2 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của spring-cloud/spring-cloud-bindings

Tất cả issue của spring-cloud/spring-cloud-bindings

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.