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权威指南
206
11
客户服务
假设你向一个大型的连锁酒店预订了一个房间,并希望收到邮件确认和票据。在预订了
几分钟之后,仍然没有收到确认邮件,于是打电话向客服确认。客服的回复是:“我在
我们的系统里看不到订单,不过从预订系统加载数据的批次作业每天只运行一次,所以
请明天再打电话过来。你应该可以在
2~3
个工作日之后收到确认邮件。”这样的服务有
点糟糕,不过有人已经不止一次地在一家大型连锁酒店遭遇过类似的问题。我们真正需
要的是,连锁酒店的每一个系统在预订结束之后的几秒钟或者几分钟之内都能发出通
知,包括客服中心、酒店、发送确认邮件的系统、网站等。有的用户可能还希望客服中
心能够立即获知自己在这家连锁酒店的历史入住数据,前台能够知道他是一个忠实的客
户,从而提供更高级别的服务。如果使用流式处理应用来构建这些系统,就可以实现几
近实时的接收和处理这些事件,从而带来更好的用户体验。如果有这样的系统,就可以
在几分钟之内收到邮件确认,信用卡就可以及时扣款,然后发送票据,服务台就可以马
上回答有关预订房间的问题了。
物联网
物联网包含很多东西,从用于调节温度和自动添加洗衣剂的家居设备,到制药行业的实
时质量监控设备。流式处理在传感器和设备上应用,最为常见的是用于预测何时该进行
设备维护。这个与应用监控有点相似,不过这次是应用在硬件上,而且应用在很多不同
的行业——制造业、通信(识别故障基站)、有线电视(在用户投诉之前识别出故障机
顶盒)等。每一种场景都有自己的特点,不过目标是一样的——处理大量来自设备的事
件,并识别出一些模式,这些模式预示着某些设备需要进行维护,比如交换机数据包的 ...
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