Skip to content

jarod/grpc-java-etcd-nameresolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

With target URI:

etcd://hostname:port/my_service

And these KVs:

# the value won't make any different
etcdctl put /my_service/group1/127.0.0.1:8080 1
etcdctl put /my_service/group1/127.0.0.1:8081 1
etcdctl put /my_service/group2/127.0.0.1:8082 1

Will resolve to:

List[
EquivalentAddressGroup { addresses: [127.0.0.1:8080, 127.0.0.1:8081]},
EquivalentAddressGroup { addresses: [127.0.0.1:8082]}
]

Build from source:

./gradlew build
# then grab the jar file on directory ./build/libs/

About

etcd nameresolver for grpc-java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages