Learn Spring Modulith: Monolith to Microservices Seamlessly

所在平台: Udemy

课程主页: https://www.udemy.com/course/spring-modulith-simplified/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程概览:** 本课程旨在帮助您从头开始学习Spring Modulith,并掌握如何将单体应用无缝地迁移至微服务架构。您将学习如何将实体及其相关对象划分为模块,并利用Modulith的规则来强制执行合规性。 **核心内容:** * **Spring Events:** 深入理解Spring事件机制,以及如何使用它们在模块之间进行通信。 * **Spring Data JPA:** 学习如何利用Spring Data JPA来映射和管理现有数据库。 * **事件处理与持久化:** * 关于成功事件如何用于指标收集,并提供实际的示例。 * 关于失败事件的处理,包括如何检索、通过API触发重试。 * 创建一个自定义类,演示如何使用调度器(cron job)或手动触发失败事件的重试。 * **容器化(Docker):** * 介绍三种容器化应用(创建镜像)的方法。 * 通过Docker命令在终端运行应用。 * 清晰解释容器化环境中服务的通信方式。 * 利用Docker Compose文件定义的网络进行实践。 * **CI/CD 管道:** 使用GitHub Actions实现持续集成和持续部署。 * **Kubernetes 部署:** 学习如何在Kubernetes上部署应用。 * **PostgreSQL 数据库:** 熟悉PostgreSQL数据库的使用。 * **自定义异常和验证:** 学习如何创建自定义异常和验证机制。 * **Modulith Metrics:** 了解Modulith的指标收集功能。 * **Java Records:** 了解Java Records的特性。 * **Spring Boot Starter Docker Compose:** 学习如何在开发和集成测试中使用它。 **课程适合人群:** 希望将单体应用轻松过渡到微服务架构的开发者。

课程评论(0条)

课程详情

Would you like to easily transition your application to microservices having started as a monolith? Then this course is for youIt teaches you from scratch all you need to know about Spring Modulith. We break entities and their related objects into modules and use existing Modulith rules to enforce compliance.You will master why and how to use Spring events to communicate between modules.Also covered are mirroring existing database with Spring Data JPA.The course also explains pragmatically how to save events:Successful events for metrics through illustration.Failed Events: on how to retrieve, APIs made available to trigger the rerun.Created a custom class to show how we can use a scheduler (cronjob) to rerun the events.also manual triggering of the failed event through an exposed method.Inside the Course, you will learn about and/or highlight a bit on:Spring EventsSpring Data JPAContainerization (Docker)The course shows three(3) ways we can containerize our application. i.e create imagewe likewise ran the application via Docker commands in the terminalclear usage on how services communicate within the containerized environmentwe leveraged Docker networks clearly defined in the compose fileCI/CD Pipeline using Git actionsKubernetes DeploymentPostgresDBCustom Exceptions and ValidationsModulith MetricsJava recordsSpring Boot Starter Docker Compose and how to use it in development and Integration Tests.

课程标签

0人关注该课程

主题相关的课程