Introduction to Spring Cloud

Spring Cloud? What is that?

Spring Cloud is an extension of Spring Boot provided through various libraries and aimed at addressing different cloud-native patterns. In this case, Spring Cloud Stream aims to simplify the chaining together of services via messaging.

To use any Spring Cloud library, we need to add the following chunk to the bottom of our build.gradle file:

    dependencyManagement { 
      imports { 
        mavenBom "          dependencies:${springCloudVersion}" 

This preceding fragment of code is part of Spring's Dependency Management gradle plugin, pulling in Spring Cloud BOM (Bill of Materials). In this case, it has a variable, springCloudVersion, which we need to select.

Spring ...

Get Learning Spring Boot 2.0 - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.