Skip to content

Update package: Spring Boot 2.4.0, Spring Cloud 2020.0, JDK 15, and more

Notifications You must be signed in to change notification settings

Book-Microservices-v2/update-2.4.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Extra Chapters - U.2.4: Upgrade to Spring Boot 2.4.0, Cloud 2020, JDK 15

This repository contains the source code of the practical use case described in the book Learn Microservices with Spring Boot (2nd Edition).

If you want to know more details about the book and its extra chapters, make sure to visit this page.

The book follows a pragmatic approach to building a Microservice Architecture, using a reference implementation that evolves from a small monolith to a full microservice system.

Upgrade - Spring Boot 2.4.0, Spring Cloud 2020.0, JDK 15

This extra chapter includes some relevant upgrades for the technology stack used in the book's microservice architecture.

All these changes are described in detail in a blog post at The Practical Developer's website. Visit https://thepracticaldeveloper.com/book-update-2.4.0/

Changes - migrating from Spring Boot 2.3.4 to 2.4.0

A summary of the updates included in this package:

  • The default username for the H2 database is no longer sa, so we need to pass this property explicitly or get rid of the old databases.
  • Bootstrap is disabled in the new Spring Cloud version, so we have to enable it again to make the config server setup work properly.
  • The old MDC key names for Sleuth (Brave) have been removed in favor of the new ones, so we have to change the Logs microservice to use these in the Logback configuration file.

References

Some additional references from the official documentation:

Running the app

You can use Docker to start the complete system, and you can also run the services one by one on your computer. See the book's last chapter repository for the detailed instructions.

I pushed the new images to the public registry, so you can get the system up and running with the new versions using Docker Compose:

docker$ docker-compose -f docker-compose-public.yml up

Questions

  • Do you have questions about how to make this application work?
  • Did you get the book and have questions about any concept explained within this chapter?
  • Have you found issues using updated dependencies?

Don't hesitate to create an issue in this repository and post your question/problem there.

About the book

Are you interested in building a microservice architecture from scratch? You'll face all the challenges of designing and implementing a distributed system one by one, and will be able to evaluate if it's the best choice for your project.

Buy the book at Amazon, or visit https://tpd.io/book-extra for all the details.

Purchase

You can buy the book online from these stores:

Source code by chapter (all repositories are available on Github)

Extra chapters:

About

Update package: Spring Boot 2.4.0, Spring Cloud 2020.0, JDK 15, and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published