Spring cloud eureka 簡單例子

工作流程: 1. 服務提供者註冊服務到服務註冊中心。 2. 服務消費者到註冊中心獲取提供者列表。 3. 服務消費者使用提供者提供的服務。   首先新建maven項目,添加dependency 在 pom.xml <parent> <artifactId>spring-boot-starter-parent</artifactId> <groupId>org.springframework.bo
相關文章
相關標籤/搜索