Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T22:26:59.000Z (about 2 months ago)
- Last Synced: 2024-11-25T23:27:02.783Z (about 2 months ago)
- Topics: apache-curator, dropwizard, java, leader-election
- Language: Java
- Homepage:
- Size: 348 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
[![Build](https://github.com/kiwiproject/dropwizard-leader-latch/workflows/build/badge.svg)](https://github.com/kiwiproject/dropwizard-leader-latch/actions?query=workflow%3Abuild)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kiwiproject_dropwizard-leader-latch&metric=alert_status)](https://sonarcloud.io/dashboard?id=kiwiproject_dropwizard-leader-latch)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=kiwiproject_dropwizard-leader-latch&metric=coverage)](https://sonarcloud.io/dashboard?id=kiwiproject_dropwizard-leader-latch)
[![CodeQL](https://github.com/kiwiproject/dropwizard-leader-latch/actions/workflows/codeql.yml/badge.svg)](https://github.com/kiwiproject/dropwizard-leader-latch/actions/workflows/codeql.yml)
[![javadoc](https://javadoc.io/badge2/org.kiwiproject/dropwizard-leader-latch/javadoc.svg)](https://javadoc.io/doc/org.kiwiproject/dropwizard-leader-latch)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Maven Central](https://img.shields.io/maven-central/v/org.kiwiproject/dropwizard-leader-latch)](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.