Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature # 220 - Make redis key space domain customizable #221

Merged

Conversation

maggmanu77
Copy link

@maggmanu77 maggmanu77 commented Jul 23, 2024

Makes redis key space domain customizable, there by allowing multi-tenant software to namespace | isolate their data in the same redis db. This primarily applies to the hash bucket keys.

Pull Request type

  • Feature

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

In com.netflix.conductor.redis.dao.BaseDynoDAO instead of the domain being a member variable, access from the property instance on demand.
Describe the new behavior from this PR, and why it's needed
Issue #
A derived bean instance of ConductorProperties (already a member of BaseDynoDAO) will be able to access the customized domain seamlessly.
Alternatives considered

Considered stack, domain is better as implied is a more meaningful attribute to depend on

Makes redis key space domain customizable, there by allowing multi-tenant software to namespace | isolate their data in the same redis db. This primarily applies to the hash bucket keys.
In com.netflix.conductor.redis.dao.BaseDynoDAO instead of the domain being a member variable, access from the property instance on demand.
A derived bean instance of ConductorProperties (already a member of BaseDynoDAO) will be able to access the customized domain seamlessly.
@v1r3n v1r3n self-requested a review July 25, 2024 02:02
@v1r3n v1r3n merged commit 6eeb50c into conductor-oss:main Jul 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants