Spring Cloud Gateway란?

비동기 서비스가 가능하다.

zull은 동기방식 이였다.

apigateway Server

server:
  port: 8000

eureka:
  client:
    register-with-eureka: false
    fetch-registry: false
    service-url:
      defaultZone: http://localhost:8761/eureka

spring:
  application:
     name: apigateway-service
  cloud:
    gateway:
      routes:
        - id: first-service
          uri: http://localhost:8081/
          predicates:
            - Path=/first-service/**
        - id: second-service
          uri: http://localhost:8082/
          predicates:
            - Path=/second-service/**

'📚 Spring > Spring Cloud' 카테고리의 다른 글

Spring Cloud Gateway - Custom Filter  (0) 2021.09.27
Spring Cloud Gateway - Filter  (0) 2021.09.24
API Gateway란? (Spring Cloud Gateway)  (0) 2021.09.22
Monolithic vs MSA  (0) 2021.09.14
Cloud Native Architecture  (0) 2021.09.05

댓글

Designed by JB FACTORY