From 17b2f36b60382a9e02d93fd4acfe97cbd29e0ff2 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 3 Jan 2019 17:33:49 +0000 Subject: [PATCH] Bumping versions --- README.adoc | 52 +++++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/README.adoc b/README.adoc index 7ca970c9..492db689 100644 --- a/README.adoc +++ b/README.adoc @@ -2,37 +2,43 @@ image::https://travis-ci.org/spring-cloud/spring-cloud-zookeeper.svg?branch=master[Build Status, link=https://travis-ci.org/spring-cloud/spring-cloud-zookeeper] -This project provides Zookeeper integrations for Spring Boot apps through autoconfiguration -and binding to the Spring Environment and other Spring programming model idioms. With a few -simple annotations you can quickly enable and configure the common patterns inside your -application and build large distributed systems with Zookeeper based components. The -patterns provided include Service Discovery and Configuration. -Intelligent Routing (Zuul) and Client Side Load Balancing (Ribbon), Circuit Breaker -(Hystrix) are provided by integration with Spring Cloud Netflix. - +This project provides Zookeeper integrations for Spring Boot applications through +autoconfiguration and binding to the Spring Environment and other Spring programming model +idioms. With a few annotations, you can quickly enable and configure the common patterns +inside your application and build large distributed systems with Zookeeper based +components. The provided patterns include Service Discovery and Configuration. Integration +with Spring Cloud Netflix provides Intelligent Routing (Zuul), Client Side Load Balancing +(Ribbon), and Circuit Breaker (Hystrix). == Zookeeper overview -"ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services." - -See the http://zookeeper.apache.org[Zookeeper site] for more information. Spring Cloud Zookeeper also builds on the http://curator.apache.org[Apache Curator] project which started life at Netflix. +ZooKeeper is a centralized service for maintaining configuration information, naming, +providing distributed synchronization, and providing group services. See the +http://zookeeper.apache.org[Zookeeper site] for more information. Spring Cloud Zookeeper +also builds on the http://curator.apache.org[Apache Curator] project, which started life +at Netflix. == Spring Cloud Zookeeper Features -* Spring Cloud `DiscoveryClient` implementation -** supports Ribbon and Zuul -* Zookeeper based `PropertySource` loaded during the 'bootstrap' phase. +Spring Cloud Zookeeper includes the following features: -== Running the sample +* Spring Cloud `DiscoveryClient` implementation (supports Ribbon and Zuul) +* Zookeeper-based `PropertySource` loaded during the 'bootstrap' phase -1. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_Download[Install zookeeper] (On a mac with homebrew `brew install zookeeper`). -2. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_InstallingSingleMode[Start zookeeper]. -3. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_ConnectingToZooKeeper[Verify zookeeper is running]. -4. Run `mvn --settings .settings.xml package` this will bring in the required spring cloud maven repositories and build -5. Run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.2.0.BUILD-SNAPSHOT.jar` -6. Visit http://localhost:8080, verify that `{"serviceId":"testZookeeperApp","host":"","port":8080}` results -7. run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.2.0.BUILD-SNAPSHOT.jar --server.port=8081` -8. visit http://localhost:8080 again, verify that `{"serviceId":"testZookeeperApp","host":"","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so). +== Running the Sample + +. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_Download[Install +zookeeper] (On a mac with homebrew, use `brew install zookeeper`). +. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_InstallingSingleMode[Start +zookeeper]. +. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_ConnectingToZooKeeper[Verify +zookeeper is running]. +. Run `mvn --settings .settings.xml package`. +Doing so brings in the required Spring Cloud Maven repositories and Build. +. Run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.2.0.BUILD-SNAPSHOT.jar`. +. Visit http://localhost:8080 to verify that `{"serviceId":"testZookeeperApp","host":"","port":8080}` works. +. Run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.2.0.BUILD-SNAPSHOT.jar --server.port=8081` +. Visit http://localhost:8080 again to verify that `{"serviceId":"testZookeeperApp","host":"","port":8081}` eventually shows up in the results in a round-robin fashion. (It may take a minute or so.) == Building