Part 1 Getting started with Kafka Streams
1.Welcome to Kafka Streams
1. The PageRank algorithm
![](https://wangyousong.com/wp-content/uploads/2020/07/image-113-1024x645.png)
2. Introducing stream processing
![](https://wangyousong.com/wp-content/uploads/2020/07/image-114-1024x222.png)
3. When to use stream processing, and when not to use it
If you need to report on or take action immediately as data arrives, stream processing is a good approach. If you need to perform in-depth analysis or are compiling a large repository of data for later analysis, a stream-processing approach may not be a good fit.
4. Deconstructing the requirements into a graph
![](https://wangyousong.com/wp-content/uploads/2020/07/image-115-1024x578.png)
5. Applying Kafka Streams to the purchase transaction flow
![](https://wangyousong.com/wp-content/uploads/2020/07/image-116.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-117-1024x886.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-118-1024x874.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-119-1024x900.png)
2. Kafka quickly
1. Using Kafka to handle data
![](https://wangyousong.com/wp-content/uploads/2020/07/image-120.png)
ZMart’s original data platform
![](https://wangyousong.com/wp-content/uploads/2020/07/image-121.png)
A Kafka sales transaction data hub
2. Kafka architecture
![](https://wangyousong.com/wp-content/uploads/2020/07/image-122-1024x835.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-123-1024x726.png)
Kafka and partitions
![](https://wangyousong.com/wp-content/uploads/2020/07/image-124-1024x822.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-125-1024x826.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-126-1024x872.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-127-1024x712.png)
![](https://wangyousong.com/wp-content/uploads/2020/07/image-128-1024x589.png)
Sending messages with producers
![](https://wangyousong.com/wp-content/uploads/2020/07/image-129-1024x869.png)
Reading messages with consumers
![](https://wangyousong.com/wp-content/uploads/2020/07/image-130-1024x831.png)