August 2018
Intermediate to advanced
260 pages
5h 48m
English
Now that we have a service being registered with the service registry, we'll create another service to demonstrate using the Spring ZooKeeper DiscoveryClient to find a running instance of that service:
group 'com.packtpub.microservices'version '1.0-SNAPSHOT'buildscript { repositories { mavenCentral() } dependencies { classpath group: 'io.spring.gradle', name: 'dependency-management-plugin', version: '0.5.6.RELEASE' classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: '1.5.9.RELEASE' }}apply plugin: 'java'apply plugin: 'org.springframework.boot'apply plugin: 'io.spring.dependency-management'sourceCompatibility ...Read now
Unlock full access