This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request type
./gradlew generateLock saveLock
to refresh dependencies)Changes in this PR
Added Redis password authentication support for
conductor.db.type
redis_standalone
redis_cluster
redis_sentinel
Issue #2533
The password is set as the 4th param in the host configuration. E.g.:
conductor.redis.hosts=localhost:6379:us-east-1c:my_str0ng_pazz
For Cluster and Sentinel configuration the password from the first host is used.
In Sentinel configuration sentinels and redis nodes use the same password.
Alternatives considered
Considered changing
RedisProperties
to add a new password property unconductor.redis
. That would have made it more explicit but sincehost.getPassword()
already exists it seems like an OK alternative if documented properly.