diff --git a/README.md b/README.md index ac59ab2..63d05d7 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ This project supports any etcd client which supports the etcd v2 api. This is an org.mousio etcd4j - 2.6.0 + 2.7.0 ``` ## Gradle ``` -compile 'org.mousio:etcd4j:2.6.0' +compile 'org.mousio:etcd4j:2.7.0' ``` ## Manually @@ -274,8 +274,8 @@ channel class if you not use a NioEventLoopGroup. By default it will create a sh * Socket channel class: You can set the socket channel class here. Default is NioSocketChannel.class * Connect timeout: The timeout of the Netty client itself. Default is 300ms * Max Frame size: The max frame size of the packages. Default is 100KiB (100 * 1024) -* Host name: The name which Host header will report. Default is the hostname attached to the -local ip in /etcd/hosts +* Host name: The name which Host header will report. Default is hostname:port of the server which is +connected to. To create an Etcd client with a custom timeout and Netty event loop: ```Java diff --git a/build.gradle b/build.gradle index edfa223..a62bd46 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ apply plugin: 'idea' sourceCompatibility = 1.7 group = 'org.mousio' -version = '2.6.1-SNAPSHOT' +version = '2.7.0' project.ext { isSnapshot = version.endsWith("-SNAPSHOT")