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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
351
16
장
이벤트 기반 마이크로서비스 배포
비엔티티 이벤트는 중대한 스키마 변경이 일어나도 재처리가 꼭 필요한 것은 아닙니다. 대부분
의 이벤트 스트리밍 애플리케이션은 서비스가 엔티티 스트림을 다시 구체화하는 것과 같은 방
식으로 이벤트 스트림을 정기적으로 재처리하지 않기 때문입니다. 컨슈머는 새 이벤트 정의를
그냥 새 이벤트 스트림으로 추가하고 비즈니스 로직을 수정하면 옛 이벤트, 새 이벤트 모두 처
리할 수 있습니다. 옛 이벤트가 이벤트 스트림에서 만료되면 어차피 비즈니스 로직에서 옛 이
벤트 스트림은 떨어져 나가겠죠.
중대한 스키마 변경은 다음 두 가지 방법으로 마이그레이션할 수 있습니다.
●
옛 스키마를 가진 이벤트 스트림, 새 스키마를 가진 이벤트 스트림, 이렇게 이벤트 스트림
2
개를 이용해 최종 일관적으로 마이그레이션
eventual
migration
●
옛 스키마를 가진 이벤트 스트림은 삭제하고 새로운 스트림으로 단일화/동기화하는 마이
그레이션
16.5.1
이벤트 스트림
2
개를 통해 최종 일관적으로 마이그레이션
이벤트 스트림을 이원화하여 최종 일관적으로 마이그레이션을 하려면 프로듀서가 옛 스키마,
새 스키마로 이벤트를 만들어 각각의 스트림에 기록해야 합니다. 옛 스트림은 사용하지 않는
것으로
deprecated
표시하고 옛 스트림을 소비했던 컨슈머들은 알아서 새 스트림으로 이전하도록
놔둡니다. 언젠가 모든 컨슈머가 새 스트림으로 이전되면 옛 스트림은 삭제하거나 장기 데이터
저장소에 보관하면 됩니다.
이 마이그레이션 전략은
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