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

Add the support of using Redis as an alternative storage #130

Open
wants to merge 17 commits into
base: unstable
Choose a base branch
from

Conversation

jihuayu
Copy link
Member

@jihuayu jihuayu commented Dec 2, 2023

In this PR I add the support of using Redis as an alternative storage.

In electLoop function I don't used Redis subscribe command, because the expiration of the key is not real-time. I have used get command every 2s to check the key status.
Others is same as Zookeeper storage impl.

In addition, I have made adjustments to the configuration structure to make it clearer. And, I have written compatibility code for the old version of the configuration structure.
I think we can keep this compatibility code until the 1.0 release.

@jihuayu jihuayu marked this pull request as ready for review December 7, 2023 11:41
@git-hulk git-hulk self-requested a review January 9, 2024 09:44
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.

None yet

1 participant