본문 바로가기 메뉴 바로가기

sondevvvv

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

sondevvvv

검색하기 폼
  • 분류 전체보기 (117)
    • JAVA (54)
      • Clean Code (2)
      • Effective Java (22)
      • Good Code (0)
      • Reactor (2)
      • Netty (4)
      • Memory Analyzer 사용법 (3)
      • Concurrency (2)
    • Spring Framework (13)
      • Spring Framework Documentat.. (0)
      • Spring Cloud (8)
      • Spring Webflux (1)
    • Tomcat (1)
    • AWS (3)
      • Web Server 구축해보기 (3)
    • Database (13)
      • Cassandra (7)
      • DynamoDB (6)
    • 용어 (4)
    • Code Review (4)
    • Kafka (2)
    • IOS (1)
    • Trouble Shooting (13)
    • Zookeeper (0)
    • Avro (4)
    • IDE (1)
      • IntelliJ (1)
    • JPA (1)
    • Algorithm (2)
      • Leetcode (2)
  • 방명록

RoutePredication (1)
Spring Cloud Gateway mapping custom data to configuration - Meta Data 정의

Spring Cloud Gateway 의 설정을 Admin 페이지에서 관리자가 쉽게 수정할 수 있도록 하기 위해서 Route 와 Filter 설정을 Custom Meta Data 로 아래와 같이 정의 하였다. YML 파일의 Spring Cloud Gateway 의 설정을 저장하는 방법도 가능하지만 우리 도메인에 특화된 설정들을 추가하기 힘들다는 단점과 spring cloud gateway 에 강한 의존성이 생기는 단점을 해소하기 위해서 Custom Meta Data 를 정의하였고 이를 런타임에 Spring Cloud Gateway Configuration 으로 변환하였다. ROUTE_CONFIG.json [{ "uri" : "https://www.naver.com", "connectionTimedOut"..

Spring Framework/Spring Cloud 2020. 11. 29. 13:24
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • wait()
  • HashMap
  • Lazy
  • mariadb-connector-j
  • mariada-connector
  • router
  • reactor
  • MariaDB
  • notify()
  • aurora
  • GlobalFilter
  • RouteDefinition
  • ConcurrentHashMap
  • reative
  • spring cloud gateway
  • notifyAll()
  • RoutePredication
  • ResultSet
  • DyanomoDB
  • Flux
  • dynamodb
  • circurit breaker
  • N+1
  • msyql-connector-java
  • custom config data convertion
  • referencedColumnName
  • AbstractMethodError
  • rate limit
  • Seperate Chaining
  • getBoolean
more
«   2025/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바