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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
334
이벤트 기반 마이크로서비스 구축
15.7.1
프로그래밍으로 임시 통합 테스트 환경 만들기
프로그래밍으로 생성한 이벤트 브로커와 컴퓨팅 리소스 관리자의 장점에 대해서는 앞서
14
.
13
절의 ‘클러스터 생성과 관리’에서 언급했습니다. 이런 도구들을 잘 활용하면 통합 테스트 전용
임시 환경을 만들 수 있습니다. 컴퓨팅 리소스를 별도로 할당받고 브로커 세트를 따로 생성해
서 테스트 대상 마이크로서비스를 컨테이너에 담아 실행하는 것입니다. 이런 식으로 통합 테스
트를 수행하면 새로운 브로커 및 컴퓨팅 환경의 생성 프로세스를 정기적으로 반복할 수 있다는
장점이 있습니다. 또 스크립트 실행 문제나 설정 오류가 다음 통합 테스트를 하기 전에 먼저 드
러나 조치할 수 있습니다.
새로 마련된 환경에서는 마이크로서비스 테스트에 꼭 필요한 이벤트 스트림과 이벤트 데이터
가 절대 부족하다는 점이 문제가 될 수 있습니다. 이벤트 스트림의 이름은 직접 담당자에게 물
어보거나 개발 도구로 마이크로서비스 코드베이스의 내부 구성 파일을 뒤져보면 알아낼 수 있
습니다. 마이크로서비스 확장, 코파티션, 리파티션 로직이 올바르게 작동되려면 파티션 수는
프로덕션 시스템과 동일하게 설정해야 합니다.
이벤트 스트림이 생성되면 그 다음에는 이벤트로 채웁니다. 프로덕션 데이터로 채우면 되지만
따로 구성한 테스트 데이터 세트나 프로그래밍으로 생성한 데이터, 또는 애드혹
ad
hoc
데이터를
사용해도 됩니다.
프로덕션에 있는 이벤트로 채우기
프로덕션 클러스터에 있는 이벤트를 새로 생성한 ...
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