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

feat: Add handle instance execution to Message Persister service #30

Merged

Conversation

gabrielmatau79
Copy link
Contributor

Implement Redis-based leader election in MessagePersister to ensure single-instance execution.
This enhancement uses a Redis lock mechanism to designate one instance as the master, preventing multiple instances from running the MessagePersister concurrently. The feature includes automatic renewal and failover handling for reliable master role management.

@gabrielmatau79 gabrielmatau79 self-assigned this Nov 5, 2024
@gabrielmatau79 gabrielmatau79 marked this pull request as ready for review November 6, 2024 14:42
@gabrielmatau79 gabrielmatau79 merged commit a806663 into main Nov 6, 2024
4 checks passed
@gabrielmatau79 gabrielmatau79 deleted the feat/message-persister-handle-instance-execution branch November 6, 2024 19:43
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