Building example application

The system architecture is the same as for the previous example. To view the source code for the current exercise, you have to switch to the ribbon_with_discovery branch (https://github.com/piomin/shown here-spring-cloud-comm/tree/ribbon_with_discovery). The first thing you will see there is a new module, discovery-service. We have discussed in detail almost all aspects related to Eureka in Chapter 4, Service Discoveryso you should not have any problems with launching it. We run a single standalone Eureka server with really basic settings. It is available on the default port, 8761.

In comparison with the previous example, we should remove all the configuration and annotations strictly related to the Ribbon client. ...

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.