Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this book
About the author
About the cover illustration
1. Getting started with Kafka Streams
Chapter 1. Welcome to Kafka Streams
1.1. The big data movement, and how it changed the programming landscape
1.1.1. The genesis of big data
1.1.2. Important concepts from MapReduce
1.1.3. Batch processing is not enough
1.2. Introducing stream processing
1.2.1. When to use stream processing, and when not to use it
1.3. Handling a purchase transaction
1.3.1. Weighing the stream-processing option
1.3.2. Deconstructing the requirements into a graph
1.4. Changing perspective on a purchase transaction
1.4.1. Source node
1.4.2. Credit card masking node
1.4.3. Patterns node
1.4.4. Rewards node
1.4.5. Storage node
1.5. Kafka Streams as a graph of processing nodes
1.6. Applying Kafka Streams to the purchase transaction flow
1.6.1. Defining the source
1.6.2. The first processor: masking credit card numbers
1.6.3. The second processor: purchase patterns
1.6.4. The third processor: customer rewards
1.6.5. The fourth processor—writing purchase records
Summary