Have you wanted to learn more about Microservices and how to leverage Spring Cloud within your own architecture and projects?
This might be the video for you! We go through a small microservice architecture approach, which involves taking two existing Web Service Spring Boot projects and updating them to become microservice friendly. We add in a Service Registry, which communicates with each of the microservices to become a central hub.
Next, we put together a Config Server which contains all of our microservice configurations across our project. As each service starts up, they will ping the config server and retrieve their appropriate configuration information.
Finally, we cap things off by creating an API Gateway to handle request routing to our demo microservices. This allows for public access through the Gateway which we can add any security or permission controls to a some future point.
Hope you enjoy this and have fun with it!
ℹ️ Concepts and Dependencies:
- Spring Boot Microservices
- Spring Cloud
- Eureka Service Registry
- Spring Cloud Config
- Spring Cloud API Gateway
👉👉Grab the Code on Github!
https://github.com/wazooinc/spring-boot-3-microservices-tutorial
🔗Grab My Other Products Available on Gumroad:
- Prepare Your System to Make Web Games with Phaser
https://wazoowebbytes.gumroad.com/l/golhs
- Build Your First Web Service API Using Java Spring Boot
https://wazoowebbytes.gumroad.com/l/xomqa
👋🏻Connect with me:
Twitter:
https://twitter.com/eyuzwa
📖I'm also going through the Bible over at @BibleTimeWithWazoo
===---=== Chapters ===---===
0:00:00 - Introduction
0:05:32 - what is a Service Registry?
0:06:24 - start.spring.io for service registry
0:07:26 - adding spring-dotenv
0:08:39 - declaring Eureka server variables
0:09:45 - updating an annotation on the main class
0:10:25 - checking service registry on browser
0:11:10 - adding service registry clients to services
0:13:15 - updating an annotation on the main class
0:14:27 - updating the application.properties
0:15:40 - checking service registry browser page
0:16:26 - what is a Config Server?
0:18:21 - start.spring.io for config server
0:19:20 - adding spring-dotenv
0:20:00 - updating application.properties
0:21:05 - updating an annotation on the main class
0:21:35 - adding service specific configuration files
0:25:18 - adding config client starter to each service
0:26:28 - updating application.properties for config server
0:27:57 - what is an API Gateway?
0:28:41 - start.spring.io for api gateway
0:29:44 - updating application.properties for api gateway
0:30:26 - updating an annotation on the main class
0:30:42 - adding api gateway configuration to config server
0:33:22 - testing api gateway requests in postman
#java #springboot #tutorial
Тэги:
#spring_boot_tutorial #spring_boot_microservices_project #spring_boot_microservices #spring_cloud #spring_cloud_config #spring_cloud_api_gateway #spring_cloud_config_tutorial #spring_cloud_api_gateway_tutorial