DaedaFusion etcd client

Client wrapper for etcd's REST interface

License

License

Categories

Categories

jetcd Data Databases
GroupId

GroupId

com.daedafusion
ArtifactId

ArtifactId

jetcd
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

jar
Description

Description

DaedaFusion etcd client
Client wrapper for etcd's REST interface
Project URL

Project URL

http://daedafusion.com
Source Code Management

Source Code Management

https://github.com/daedafusion/jetcd.git

Download jetcd

How to add to project

<!-- https://jarcasting.com/artifacts/com.daedafusion/jetcd/ -->
<dependency>
    <groupId>com.daedafusion</groupId>
    <artifactId>jetcd</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.daedafusion/jetcd/
implementation 'com.daedafusion:jetcd:1.1'
// https://jarcasting.com/artifacts/com.daedafusion/jetcd/
implementation ("com.daedafusion:jetcd:1.1")
'com.daedafusion:jetcd:jar:1.1'
<dependency org="com.daedafusion" name="jetcd" rev="1.1">
  <artifact name="jetcd" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.daedafusion', module='jetcd', version='1.1')
)
libraryDependencies += "com.daedafusion" % "jetcd" % "1.1"
[com.daedafusion/jetcd "1.1"]

Dependencies

compile (6)

Group / Artifact Type Version
log4j : log4j jar 1.2.17
com.fasterxml.jackson.core : jackson-annotations jar 2.5.1
com.fasterxml.jackson.core : jackson-databind jar 2.5.1
com.google.guava : guava jar 15.0
org.apache.httpcomponents : httpasyncclient jar 4.0.2
org.apache.httpcomponents : httpclient jar 4.3.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

jetcd - Java client for etcd

Build Status

Coverage Status

This is a basic client for connecting to etcd.

Maven

<dependency>
    <groupId>com.daedafusion</groupId>
    <artifactId>jetcd</artifactId>
    <version>1.1</version>
</dependency
<dependency>
    <groupId>com.daedafusion</groupId>
    <artifactId>jetcd</artifactId>
    <version>1.2-SNAPSHOT</version>
</dependency

Examples

EtcdClient client = EtcdClientFactory.newInstance() // http://localhost:4001

EtcdResult result = client.set("/foobar", "test")

result = client.get(key);
assertThat(result.getNode().getValue(), is("hello"));

Supported Features

  • set/get
  • delete
  • set w/ ttl
  • refresh
  • create/list/delete directory
  • cas/cad
  • watch
com.daedafusion

DaedaFusion

Versions

Version
1.1
1.0