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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
337
15
장
이벤트 기반 마이크로서비스 테스트
●
서드파티 도구로 프로그램을 작성하여 테스트 데이터를 생성할 수 있습니다 (예: 컨플루
언트 아브로 도구
16
).
단점
●
다른 방법에 비해 리얼한 데이터를 만들기가 까다롭습니다.
●
생성된 데이터를 프로덕션 데이터와 비교하면 여전히 불완전합니다. 예를 들어 프로덕션
데이터는 목 데이터로는 잘 드러나지 않는 키 분포 때문에 데이터량이 상당히 차이날 수
있습니다.
●
생성된 데이터가 특정 필드를 부정확하게 나타낼 수 있습니다. 예를 들면 어떤 비즈니스
작업을 위해 특정한 방법으로 생성된 테스트 데이터의 문자열 필드를 파싱하면 문제가 없
지만 프로덕션 데이터의 일부를 갖고 테스트하면 실패하는 경우가 있습니다.
15.7.2
공유 환경에서 테스트
동일한 이벤트 브로커 안에 있는 이벤트 스트림을 공유 풀
shared
pool
로 만들어 하나의 공유 테스
트 환경을 구축하는 방법입니다. 이 이벤트 스트림은 프로덕션 데이터를 반영한 테스트 데이
터, 또는 앞서 설명한 것처럼 별도로 신중하게 마련한 테스트 데이터로 채웁니다. 테스트 환경
을 구축하는 오버헤드는 적지만 이벤트 스트림 및 데이터를 관리하는 부담은 오롯이 개발자가
져야 합니다.
장점
●
시작하기 쉽습니다.
●
하나의 테스트 환경만 잘 관리하면 됩니다.
●
프로덕션
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