국밥 개발자

  • 홈
  • 태그
  • 방명록

Spring 2

[MSA] Spring Boot - Api Gateway [Spring Cloud Gateway]란? 생성

Api Gateway 마이크로 서비스들이 제공하는 api들은 동적으로 IP,와 포트가 바뀝니다. 그 정보들을 front에서 알수있게 라우팅 기능을 합니다. Spring Cloud Gateway Spring 환경의 gateway로 비동기 처리가 가능하다. (tomcat말고 Netty 등 비동기 서버 사용해야함) 의존성 주입 (build.gradle) ext { set('springCloudVersion', "2021.0.6") } dependencies { implementation 'org.springframework.cloud:spring-cloud-starter-gateway' implementation 'org.springframework.cloud:spring-cloud-starter-netfli..

MSA 2023.04.06

[MSA] Spring Boot - Netfix Eureka 란? 생성

Netflix Eureka 넷플릭스에서 MSA를 위해 Spring Cloud에 기부한 오픈 소스이다. MSA에서 서비스들에 대한 정보를 저장하여 외부에서 서비스 호출 시 그에 맞는 서비스 서버로 전달해주는 미들웨어이다. 의존성 주입 (build.gradle) // 스프링 클라우드 버전 ext { set('springCloudVersion', "2021.0.6") } dependencies { implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-server' testImplementation 'org.springframework.boot:spring-boot-starter-test' ... } 어플리케이션 부분에 유레카..

MSA 2023.04.04
이전
1
다음
더보기
  • 분류 전체보기 (116)
    • DevOps (21)
    • MSA (27)
    • React (9)
    • Typescript (5)
    • FrontEnd (5)
    • Error (6)
    • NestJS (3)
    • Rust (1)
    • Algorithm (25)
    • AWS (2)
    • Git (10)
    • HTTP (2)
    • 개발 (0)

최근글과 인기글

  • 최근글
  • 인기글
Git Hub

Copyright © Kakao Corp. All rights reserved.

티스토리툴바