没有合适的资源?快使用搜索试试~ 我知道了~
首页Designing Event-Driven Systems
资源详情
资源评论
资源推荐

Ben Stopford
Foreword by Sam Newman
Concepts and Patterns for Streaming
Services with Apache Kaa
Designing
Event-Driven
Systems


Ben Stopford
Designing Event-Driven Systems
Concepts and Patterns for Streaming
Services with Apache Kafka
Boston Farnham Sebastopol
Tokyo
Beijing Boston Farnham Sebastopol
Tokyo
Beijing

978-1-492-03824-5
[LSI]
Designing Event-Driven Systems
by Ben Stopford
Copyright © 2018 O’Reilly Media. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online edi‐
tions are also available for most titles (http://oreilly.com/safari). For more information, contact our
corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editor: Brian Foster Interior Designer: David Futato
Production Editor: Justin Billing Cover Designer: Karen Montgomery
Copyeditor: Rachel Monaghan Illustrator: Rebecca Demarest
Proofreader: Amanda Kersey
April 2018: First Edition
Revision History for the First Edition
2018-03-28: First Release
2018-05-11: Second Release
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Designing Event-Driven Systems,
the cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the author have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the author disclaim all responsi‐
bility for errors or omissions, including without limitation responsibility for damages resulting from
the use of or reliance on this work. Use of the information and instructions contained in this work is
at your own risk. If any code samples or other technology this work contains or describes is subject
to open source licenses or the intellectual property rights of others, it is your responsibility to ensure
that your use thereof complies with such licenses and/or rights.
This work is part of a collaboration between O’Reilly and Confluent. See our statement of editorial
independence.

Table of Contents
Foreword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Part I. Setting the Stage
1.
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.
The Origins of Streaming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.
Is Kafka What You Think It Is?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Kafka Is Like REST but Asynchronous? 13
Kafka Is Like a Service Bus? 14
Kafka Is Like a Database? 15
What Is Kafka Really? A Streaming Platform 15
4.
Beyond Messaging: An Overview of the Kafka Broker. . . . . . . . . . . . . . . . . . . . . . . 17
The Log: An Efficient Structure for Retaining and Distributing Messages 18
Linear Scalability 19
Segregating Load in Multiservice Ecosystems 21
Maintaining Strong Ordering Guarantees 21
Ensuring Messages Are Durable 22
Load-Balance Services and Make Them Highly Available 23
Compacted Topics 24
Long-Term Data Storage 25
Security 25
Summary 25
iii
剩余170页未读,继续阅读















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0