Skip to Content
Kafka权威指南
book

Kafka权威指南

by Neha Narkhede, Gwen Shapira, Todd Palino
January 2018
Beginner to intermediate
234 pages
7h 8m
Chinese
Posts & Telecom Press
Content preview from Kafka权威指南
104
7
7.1.5
 转换
数据转换比其他需求更具争议性。数据管道的构建可以分为两大阵营,即
ETL
ELT
ETL
表示
提取
转换
加载
Extract-Transform-Load
),也就是说,当数据流经数据管道
时,数据管道会负责处理它们。这种方式为我们节省了时间和存储空间,因为不需要经过
保存数据、修改数据、再保存数据这样的过程。不过,这种好处也要视情况而定。有时
候,这种方式会给我们带来实实在在的好处,但也有可能给数据管道造成不适当的计算和
存储负担。这种方式有一个明显不足,就是数据的转换会给数据管道下游的应用造成一些
限制,特别是当下游的应用希望对数据进行进一步处理的时候。假设有人在
MongoDB
MySQL
之间建立了数据管道,并且过滤掉了一些事件记录,或者移除了一些字段,那么
下游应用从
MySQL
中访问到的数据是不完整的。如果它们想要访问被移除的字段,只能
重新构建管道,并重新处理历史数据(如果可能的话)。
ELT
表示
提取
加载
转换
Extract-Load-Transform
)。在这种模式下,数据管道只做少量的
转换(主要是数据类型转换),确保到达数据池的数据尽可能地与数据源保持一致。这种
情况也被称为高保真(
high fidelity
)数据管道或数据湖(
data lake
)架构。目标系统收集
“原始数据”,并负责处理它们。这种方式为目标系统的用户提供了最大的灵活性,因为它
们可以访问到完整的数据。在这些系统里诊断问题也变得更加容易,因为数据被集中在同
一个系统里进行处理,而不是分散在数据管道和其他应用里。这种方式的不足在于 ...
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

精通機器學習

精通機器學習

Aurélien Géron
精通特征工程

精通特征工程

Alice Zheng, Amanda Casari
高效能PYTHON程式設計

高效能PYTHON程式設計

Micha Gorelick, Ian Ozsvald

Publisher Resources

ISBN: 9787115473271