https://github.com/kiwiproject/dropwizard-leader-latch
A simple library to integrate a leader latch into a Dropwizard service
https://github.com/kiwiproject/dropwizard-leader-latch
apache-curator dropwizard java leader-election
Last synced: 7 months ago
JSON representation
A simple library to integrate a leader latch into a Dropwizard service
- Host: GitHub
- URL: https://github.com/kiwiproject/dropwizard-leader-latch
- Owner: kiwiproject
- License: mit
- Created: 2020-09-25T18:27:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-25T01:25:55.000Z (8 months ago)
- Last Synced: 2025-02-25T02:32:04.813Z (8 months ago)
- Topics: apache-curator, dropwizard, java, leader-election
- Language: Java
- Homepage:
- Size: 390 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
### Dropwizard Leader Latch
[](https://github.com/kiwiproject/dropwizard-leader-latch/actions?query=workflow%3Abuild)
[](https://sonarcloud.io/dashboard?id=kiwiproject_dropwizard-leader-latch)
[](https://sonarcloud.io/dashboard?id=kiwiproject_dropwizard-leader-latch)
[](https://github.com/kiwiproject/dropwizard-leader-latch/actions/workflows/codeql.yml)
[](https://javadoc.io/doc/org.kiwiproject/dropwizard-leader-latch)
[](https://opensource.org/licenses/MIT)
[](https://central.sonatype.com/artifact/org.kiwiproject/dropwizard-leader-latch/)This is a small library that integrates Apache Curator's Leader Latch recipe
into a Dropwizard service.This is useful when you are running multiple instances of the same Dropwizard
service, but there are some actions that should only be taken by one of those
instances. Using this library, each group of related Dropwizard service instances
will have exactly one leader, and each instance is able to easily determine if
it is the leader or not.