April 2018
Intermediate to advanced
432 pages
10h 38m
English
I have changed a configuration for all the microservices in application.yml. Now, there are two different profiles, the first used for assigning an application to zone1 and the second for zone2. You may check out the version from the feign_with_discovery branch (https://github.com/piomin/shown here-spring-cloud-comm/tree/feign_with_discovery). Then, build the whole project using the mvn clean install command. The application should be launched with the java -jar --spring.profiles.active=zone[n] command, where [n] is the number of the zone. Because you have to start many instances to perform that test, it is worth considering a limit on heap size by setting the -Xmx parameter, for example, -Xmx128m. Here are the current ...