
Explore real-time data processing with Kafka streams 3.0.0, covering stateless and stateful operations, KStream, KTable, windowing, and heart rate sensor data health monitoring.
Master stateless and stateful Kafka Streams applications, real-time streaming with the Kafka Streams framework, and complex event processing, while covering prerequisites in Java 8, Kafka fundamentals, and Maven-built Java projects.
Explore the ultimate Kafka Streams (3.x) real-time data processing course, featuring step-by-step knowledge points, source code exercises, and real-case applications with diagrams to illustrate underlying concepts.
Explore data process strategy in Kafka Streams, highlighting depth-first processing of records through a topology, buffered by the source processor and shaped by topic partitions for parallel processing.
Learn how the map operation in Kafka streams transforms each input record into a new output by changing key and value types, returning a new stream and potentially repartitioning.
Discover how the selectKey operation uses a KeyValueMapper to assign a new key for each input record. This stateless, record-by-record transformation enables downstream grouping, joining, and aggregation.
Explore two stateless ops, print and peek, for debugging Kafka Streams data processing; print outputs to console, but not recommended for production due to performance, while peek preserves records.
Define and implement the transaction data model for real-time analysis with Kafka Streams, including Transaction, TransactionKey, TransactionPattern, and CustomerReward, using a builder pattern and credit card masking.
Explore how Kafka streams redistributes data for correct stateful transforms, using repartition topics and local state stores synchronized to change logs, and restart procedures to fix wrong results.
Enhance the XMall real-time transaction processing with a stateful reward point processor that tracks both current and total rewards using a state store and a value transformer in Kafka Streams.
Master stateful transform operations in kafka streams, including transform and flat transform with key supplier and iterable outputs. Upstream key changes won't auto-repartition; call repartition explicitly.
Master inner join on KStream by aligning keys and timestamps within a join window, using ValueJoiner to produce results while ignoring null keys or values.
learn the KStream outer joining operation, a full join where all records from both streams are produced at least once within a window, with a practical code demo.
Implement a real-time sales champion app using reduced aggregate operations in kafka streams, with per-salesman totals, department grouping, and department champions displayed on a dashboard.
Deploy a kafka streams app to multiple instances by parameterizing the statestore directory and port, configuring streams threads below partitions, packaging with the assembly plugin, and running separate instances.
Recap stateful streams with embedded RocksDB statestore, explore storage options, and build a word count stateful Kafka Streams app, covering repartition, change logs, transforms, joins, grouping, and aggregations like count.
Explore Kafka streams time semantics for windowed operations, comparing event time, ingestion time, and processing time, to select accurate timestamps for windowed joins and aggregations.
Leverage Kafka Streams to perform real-time network attack behavior analysis using a tumbling one-minute window, grouping by remote address and counting events to trigger warnings when hits exceed ten.
Explore session time windows and sessionization to count user visits within inactivity gaps in real-time statistics, using session windows with a 5-minute gap.
Learn to query a Kafka Streams window store via the interactive query API in a KGroupedStream setup, exposing a heartbeat endpoint that returns windowed heartbeat data in JSON.
Explore KTable basics, including filter and mapValues operations, and tombstone semantics where null values delete records; convert to KStream to enable print, forEach, and sink.
Learn how KTable inner joins with another KTable to produce joined results from user.info and user.address using a value joiner, while handling tombstones and null deletes.
Explore KTable inner joins in Kafka Streams (3.x) by using a foreign key extractor to join a left KTable's value-part with a right KTable, illustrating real-time data processing.
Explore KTable grouping and count aggregations to compute employees per department using KGroupedTable and repartitioning; demonstrate updates, deletions, and tombstone records.
See how ktable reduce aggregates update department salary totals in real time, with adder and subtractor reducers, to compute total salary per department and emit downstream.
**** Please enable the vedio cc function (captions ) *****
First of all, welcome to enroll this course. This is a course about Kafka Streams. In this course, every knowledge detail of the Kafka Streams framework is introduced in great detail. Secondly, I sincerely hope that you can enable the vedio cc function (captions ) , because my native language is not English, the spoken language is not very standard, but I assure you that the course content is absolutely detailed and step by step,From shallow to deep.
Kafka Streams is a client library for building applications and microservices, where the input and output data are stored in Kafka clusters. It combines the simplicity of writing and deploying standard Java and Scala applications on the client side with the benefits of Kafka's server-side cluster technology.
[Pre-Requisites]
You should have the Java development experiences(***this is mandatory requirement***)
You should have the Kafka foundation knowledge(***this is mandatory requirement***)
It's better have another streaming develop experiences such as Spark Streaming, Storm, Flink
【Course Characteristics】
Driven by source code
Lots of practices
From shallow to deep
Absolutely detailed and step by step
Covers all knowledge points of Kafka Streams framework
Rich comprehensive cases
[Course Agenda]
Introduce the Kafka Streams
Tutorial the Kafka Streams key terms and concepts
Kafka Streams Parallel Mode
Stateless operation of map transform
Stateless operation of mapValues transform
Stateless operation of flatMap transform
Stateless operation of flatMapValues transform
Stateless operation of selectKey transform
Stateless operation of foreach
Stateless operation of Print&Peek
Stateless operation split & merge & BranchedKStream
How to custom Serdes
XMall Transaction data real-time analysis practise
Tutorial the kafka stateful operation and statestore
Explain in details of internal data redistribution and stateful transform
Stateful operation of Joining(inner join/left join/outer join)
Stateful operation of grouping
Stateful operation of aggregation(count,reduce,aggregate)
Build Real-time analysis the sales champion application
Build Real-time analysis the sales stats application
Stateful KStream Queryable Storestore
Stateful TimeWindowedKStream Queryable state store for interactive
KGroupedStream windowing operation
Time Semantics and custom TimestampExtractor
Tumbling time window for analysis of Potential Cyber Attacks
Hopping time window for Site Visit real-time statistics
Heartbeat sensor data real-time analysis for patient health monitoring
What is KTable and how to create the KTable
KTable basis operation such as map values, filtering
KTable basis stateful operation transformValues implement the shooting game
KStream inner&left join the KTable enrichment/enhancement the orginal records
KTable inner join, inner foreign key with other KTable
KTable left join, left foreign join, outer join KTable
KTable & KGroupedTable aggregating operation such as count/reduce/aggregate
[Course Objectives]
Fully understand the kafka Streams concepts and key terms
Fully understand the kafak Streams parallel mode
Master the stateless streams application building and in depth understand every stateless operation
Master the stateful streams application building and in depth understand every stateful operation
Master the internal data distribution underlying mechanism
Master the statestore, can base on the statestore build complex event process real-time application
Fully understand the KTable and Windowing operation
Hope you will enjoy this course, After learning this course, you will become an expert in Kafka Streams, and ability to build complex event process(CEP) real-time application based on Kafka Streams framework.