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权威指南
106
7
你无法或者也不想修改它们的代码。
Connect
可以用于从外部数据存储系统读取数据,或
者将数据推送到外部存储系统。如果数据存储系统提供了相应的连接器,那么非开发人员
就可以通过配置连接器的方式来使用
Connect
如果你要连接的数据存储系统没有相应的连接器,那么可以考虑使用客户端
API
Connect API
开发一个应用程序。我们建议首选
Connect
,因为它提供了一些开箱即用的
特性,比如配置管理、偏移量存储、并行处理、错误处理,而且支持多种数据类型和标准
REST
管理
API
。开发一个连接
Kafka
和外部数据存储系统的小应用程序看起来很简单,
但其实还有很多细节需要处理,比如数据类型和配置选项,这些无疑加大了开发的复杂
性——
Connect
处理了大部分细节,让你可以专注于数据的传输。
7.3
 
Kafka Connect
Connect
Kafka
的一部分,它为在
Kafka
和外部数据存储系统之间移动数据提供了一种
可靠且可伸缩的方式。它为连接器插件提供了一组
API
和一个运行时——
Connect
负责运
行这些插件,它们则负责移动数据。
Connect
worker 进程集群的方式运行,我们基于
worker 进程安装连接器插件,然后使用
REST API
来管理和配置 connector,这些 worker
进程都是长时间持续运行的作业。连接器启动额外的 task,有效地利用工作节点的资源,
以并行的方式移动大量的数据。数据源的连接器负责从源系统读取数据,并把数据对象
提供给 worker ...
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