🚨 AtomicJar is now part of Docker 🐋! Read the blog

Documentation

Java

Community Module

These modules are maintained by the community, outside of the Testcontainers project.

Description

etcd is a strongly consistent, distributed key-value store that provides a reliable way to store data that needs to be accessed by a distributed system or cluster of machines. It gracefully handles leader elections during network partitions and can tolerate machine failure, even in the leader node.

Examples

Dependency:
<dependency>
    <groupId>io.etcd</groupId>
    <artifactId>jetcd-core</artifactId>
    <version>0.8.2</version>
    <scope>test</scope>
</dependency>
Usage:
var etcdContainer = new EtcdContainer();
etcdContainer.start();