-
Notifications
You must be signed in to change notification settings - Fork 997
feat: add Redis Sentinel support for high availability #5008
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
base: main
Are you sure you want to change the base?
Conversation
Implement Redis Sentinel support to enable high availability Redis configurations as an alternative to Redis Cluster. This leverages existing ARQ support for Sentinel connections. Features: - Shared Redis configuration module supporting both direct Redis and Sentinel - Environment variable configuration for Sentinel setup: - REDIS_SENTINEL_ENABLED=true - REDIS_SENTINEL_HOSTS=host1:port1,host2:port2 (comma-separated) - REDIS_SENTINEL_SERVICE_NAME=mymaster (configurable) - Refactored ARQ pool and worker to use centralized Redis settings - Comprehensive E2E test suite with Docker Compose setup - Support for authentication and connection retry configuration The implementation maintains backward compatibility with existing direct Redis configurations while adding Sentinel capability for production high availability deployments.
@ns-rboyd is attempting to deploy a commit to the KeepHQ Team on Vercel. A member of the Team first needs to authorize it. |
🚨 BugBot couldn't runPull requests from forked repositories are not yet supported (requestId: serverGenReqId_d1cafc74-e60a-4c53-8ffe-0adf844e0ce6). |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thank you for this @ns-rboyd
@ns-rboyd i can see there are some linting problems, care fixing that so we can merge it? |
🚨 BugBot couldn't runPull requests from forked repositories are not yet supported (requestId: serverGenReqId_d767dc2f-5ad0-4d36-83b9-b4bc089394cd). |
🚨 BugBot couldn't runPull requests from forked repositories are not yet supported (requestId: serverGenReqId_dd80fcfa-2491-4aa9-a6e2-d796213ad618). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@ns-rboyd can you fix it? |
🚨 BugBot couldn't runPull requests from forked repositories are not yet supported (requestId: serverGenReqId_7297ae66-3320-4ea1-924a-aa294e50d4a4). |
🚨 BugBot couldn't runPull requests from forked repositories are not yet supported (requestId: serverGenReqId_eac77b49-e446-4fee-bcb7-ddda728f0d13). |
Implement Redis Sentinel support to enable high availability Redis configurations as an alternative to Redis Cluster. This leverages existing ARQ support for Sentinel connections.
Features:
The implementation maintains backward compatibility with existing direct Redis configurations while adding Sentinel capability for production high availability deployments.
closes #5007