Mastering Spring Cloud
Mastering Spring Cloud
If you're using Spring to build microservices, then you'll want to check out the new book, Mastering Spring Cloud, introduced in this post.
Join the DZone community and get the full member experience.Join For Free
Record growth in microservices is disrupting the operational landscape. Read the Global Microservices Trends report to learn more.
Let me share with you the results of my last couple months of work - the book published on April 26th by Packt. The book "Mastering Spring Cloud" is strictly linked to the topics frequently published on my blog - it describes how to build microservices using the Spring Cloud framework. I tried to create this book in the well-known style of writing from my blog, where I focus on giving you the practical samples of working code without unnecessary small-talk and scribbles. If you like my style of writing and you are interested in the Spring Cloud framework and microservices, this book is just for you.
The book consists of fifteen chapters, where I guide you from the basic to the most advanced examples, illustrating use cases for almost all projects that are a part of Spring Cloud. While creating blog posts, I do not always have time to go into all the details related to Spring Cloud. I'm trying to describe a lot of different, interesting trends and solutions in the area of Java development. The book describes many details related to the most important projects of Spring Cloud, like service discovery, distributed configuration, inter-service communication, security, logging, testing, and continuous delivery. It is available on the Packt site here. A detailed description of all the topics raised in the book is available on that site.
Personally, I particularly recommend reading the following, more advanced subjects described in the book:
- Peer-to-peer replication between multiple instances of Eureka servers, and using zoning mechanisms in inter-service communication.
- Automatically reloading configuration after changes with the Spring Cloud Config push notifications mechanism, based on Spring Cloud Bus.
- Advanced configuration of inter-service communication with the Ribbon client-side load balancer and Feign client.
- Enabling SSL secure communication between microservices and basic elements of microservices-based architecture, like service discovery or configuration servers.
- Building messaging microservices based on the publish/subscribe communication model, including consumer grouping, partitioning, and scaling with Spring Cloud Stream and message brokers (Apache Kafka, RabbitMQ).
- Setting up continuous delivery for Spring Cloud microservices with Jenkins and Docker.
- Using Docker to run Spring Cloud microservices on the Kubernetes platform, simulated locally by Minikube.
- Deploying Spring Cloud microservices on cloud platforms like Pivotal Web Services (a Pivotal Cloud Foundry-hosted cloud solution) and Heroku.
Those examples and many others are available in this book. Here's a short description taken from packtpub.com:
Developing, deploying, and operating cloud applications should be as easy as local applications. This should be the governing principle behind any cloud platform, library, or tool. Spring Cloud-an open-source library-makes it easy to develop JVM applications for the cloud. In this book, you will be introduced to Spring Cloud and will master its features from the application developer's point of view.
Published at DZone with permission of Piotr Mińkowski , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.