Skip to Content
이벤트 기반 마이크로서비스 구축
book

이벤트 기반 마이크로서비스 구축

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
348
이벤트 기반 마이크로서비스 구축
특정 디렉터리 구조 내에 입출력 스키마를 넣고 스키마 대 이벤트 스트림 맵을 사용하
면 간단히 해결됩니다. 이 파이프라인 단계에서 스키마를 가져와 비교하면 비호환성 여
부를 체크할 수 있습니다.
4
.
배포:
새 마이크로서비스를 배포하려면 현재 배포된 마이크로서비스를 일단 중단시켜야
합니다. 이 과정은 두 단계로 나누어 실행합니다.
●
배포하기 전에 인스턴스를 멈추고 정리
: 현재 마이크로서비스 인스턴스를 멈추고 필요한
상태 저장소 및 (또는 ) 컨슈머 그룹을 리셋한 다음 내부 스트림을 전부 삭제합니다. 상
태를 재구축하는 비용이 많이 드는 경우에는 상태, 컨슈머 그룹, 내부 토픽을 그냥 두
고 새 서비스를 배포하면 실패 시 신속하게 롤백이 가능합니다.
●
실제로 배포
: 컨테이너형 코드를 배포하고 필요한 수량만큼 마이크로서비스 인스턴스를
기동합니다. 부팅될 때까지 기다렸다가 신호가 떨어지면 다음 단계로 진행합니다. 실
패할 경우 이 단계를 포기하고 이전 버전의 코드를 배포합니다.
5
.
사후 배포 검증 테스트:
마이크로서비스가 정상 동작하는지, 컨슈머 랙이 정상 범위로 회복
됐는지, 로그에 에러는 없는지, 엔드포인트가 잘 작동하는지 확인합니다.
WARNING
_
SLA
, 다운타임, 스트림 처리 캐치업 시간, 출력 이벤트
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠
클라우드 핀옵스: 비용은 최소화 운영은 최적화

클라우드 핀옵스: 비용은 최소화 운영은 최적화

오성근, J. R. 스토먼트, 마이크 풀러

Publisher Resources

ISBN: 9791162244173