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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
307
14
장
지원 도구
14.7
오프셋 관리
이벤트 기반 마이크로서비스는 데이터를 계속 처리하기 전에 오프셋을 관리해야 합니다. 정상
적인 상황이라면 마이크로서비스가 메시지를 처리하면서 컨슈머 오프셋을 전진시키지만 사람
이 수동으로 오프셋을 조정해야 할 때도 있습니다.
애플리케이션 리셋: 오프셋 리셋
마이크로서비스 로직을 변경하면 이전에 쌓인 이벤트부터 재처리가 불가피한 경우가 있습
니다. 재처리는 보통 스트림의 처음부터 시작하지만 서비스 요건에 따라 다른 시점을 선택
할 수도 있습니다.
애플리케이션 리셋: 오프셋 전진
옛 데이터는 필요 없고 최근 데이터만 소비한다면 최초
earliest
대신, 최종
latest
오프셋으로 애플
리케이션 오프셋을 리셋합니다.
애플리케이션 복구: 오프셋 지정
오프셋을 특정 시점으로 되돌려야 할 때도 있습니다. 가령, 멀티클러스터
multicluster
환경에서
페일오버
failover
(장애 극복)를 할 때 메시지는 하나라도 누락되면 안 되지만 그렇다고 처음부
터 시작하고 싶지는 않을 때가 있겠죠. 장애 발생
n
분 전으로 오프셋을 리셋하고 복제된 메
시지를 하나도 빠짐없이 처리하면 될 것입니다.
프로덕션 수준의 데스옵스라면 오프셋을 수정하기 위해 해당 팀이 마이크로서비스를 반드시
소유해야 하는데, 이런 기능은 마이크로서비스-팀 배정 시스템이 제공합니다.
14.8
이벤트 스트림 권한과
ACL
데이터 접근 통제는, 비즈니스 보안 측면에서는 물론 단일 작성자 원칙을 준수하는 수단으로도
중요합니다. 권한 및
ACL
은 각 경계 콘텍스트가 ...
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