Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Spring Microservices in Action: benefits of using Spring Cloud

 
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

Congrats for the book. From the TOC,  I saw that you covered Spring Microservices using Spring Cloud. What are some benefits of using Spring Cloud vs Other similar technologies (Apache Kafka, rabbitMQ, Camunda )  for microservice orchestration? Basically, why the Spring Cloud when using the microservice architecture?

Thank you!

 
Author
Posts: 93
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Afrim,

Spring Cloud offers much of the operational functionality you need for when you are building a microservices based application?   (e.g. Config management, service discovery, intelligent routing, log aggregation and correlation)?  You can use Spring Cloud Stream to do event-based microservices.  Chapter 8 in the book actually demonstrates some simple event processing using Kafka and Spring Cloud Stream.  Too me Kafka, RabbitMQ, etc... are really message backbones for publishing messages to services.  I think Spring Cloud works really well when you are building Spring Applications in an internal data center or where you are going to be deploying your services to Docker containers that are not managed in something like a Kubernetes cluster. Also, if you plan on using the Pivotal Cloud (e.g. Cloud Foundry), many of the Spring Cloud services outlined in the book are available inside of cloud foundry.

Frankly, there is a lot of overlap between Spring Cloud and Kubernetes.  If you are planning on running your Spring services in Kubernetes, you might want step back from Spring Cloud and take advantage of whats in Kubernetes.  Kubernetes offers service discovery, logging, security, configuration management, etc...   However, if you use something like Kubernetes things like Spring Cloud Stream and Spring Cloud/Hysterix are not part of the Kubernetes stack.

  Thanks,
      John
 
Uh oh, we're definitely being carded. Here, show him this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic