Everything you need to implement stream processing on Apache KafkaⓇ using Kafka Streams and the kqsIDB event streaming database.
This totally revised new edition of Kafka Streams in Action has been expanded to cover more of the Kafka platform used for building event-based applications. You’ll also find full coverage of ksqlDB, an event streaming database purpose-built for stream processing applications.
In Kafka Streams in Action, Second Edition you’ll learn how to
Design streaming applications in Kafka Streams with the KStream and the Processor API
Integrate external systems with Kafka Connect
Enforce data compatibility with Schema Registry
Build applications that respond immediately to events in either Kafka Streams or ksqlDB
Craft materialized views over streams with ksqlDB
about the technology
The lightweight Kafka Streams library provides exactly the power and simplicity you need for event-based applications, real-time event processing, and message handling in microservices. The ksqlDB database makes it a snap to create applications that respond immediately to events, such as real-time push and pull updates.
about the book
Kafka Streams in Action, Second Edition teaches you to implement stream processing within the Kafka platform. In this easy-to-follow book, you’ll explore real-world examples to collect, transform, and aggregate data, work with multiple processors, and handle real-time events. You’ll also dive into processing event data with ksqlDB. Practical to the very end, it finishes with testing and operational aspects, such as monitoring, debugging, and gives you the opportunity to explore a few end-to-end projects.
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
AI guide
【One-Line Pitch】
A hands-on guide to building real-time event streaming applications on Apache Kafka, covering both the Kafka Streams library and the ksqlDB event streaming database. Best suited for Java developers and data engineers who want practical, end-to-end skills in stream processing rather than theory.
【Book Arc】
- **Opening (~0%–15%)**: Establishes why stream processing matters and introduces the Kafka platform as the foundation for event-based applications, orienting readers to the core mental model of streams versus static data.
- **Early (~15%–35%)**: Introduces Kafka Streams fundamentals — building streaming applications with the KStream API and the lower-level Processor API — solving the problem of how to express transformations and processing logic in code.
- **Middle (~35%–60%)**: Moves into platform integration concerns: connecting external systems via Kafka Connect and enforcing data compatibility with Schema Registry, addressing how streaming apps fit into a broader data ecosystem.
- **Late (~60%–80%)**: Shifts to ksqlDB, covering how to build applications that respond immediately to events and how to craft materialized views over streams, offering a declarative alternative to hand-coded stream logic.
- **Ending (~80%–100%)**: Closes with practical operational concerns — testing, monitoring, and debugging streaming applications — plus end-to-end projects that consolidate the earlier material into realistic builds.
【Key Takeaways】
- **Kafka Streams is a lightweight library, not a separate cluster** (Early): this shapes deployment and architecture decisions, since stream processing runs inside your application rather than on dedicated infrastructure.
- **Two programming models coexist: KStream and the Processor API** (Early): the high-level DSL handles common transformations, while the Processor API gives fine-grained control when the DSL is insufficient.
- **Stream processing extends beyond the library itself** (Middle): Kafka Connect and Schema Registry are treated as first-class parts of building event-based applications, covering ingestion and data compatibility.
- **ksqlDB offers a declarative path to stream processing** (Late): rather than writing Java code, you can express continuous queries and materialized views over streams, which lowers the barrier for event-driven applications.
- **Materialized views over streams are a core ksqlDB capability** (Late): this enables push and pull style real-time updates, a pattern distinct from traditional request-response database access.
- **Testing and operations are not afterthoughts** (Ending): the book deliberately finishes with testing, monitoring, and debugging, signaling that production readiness matters as much as feature development.
- **End-to-end projects tie the platform together** (Ending): the concluding projects are positioned as the payoff where collection, transformation, aggregation, and multi-processor handling combine.
【Reading Tips】
- **Deep-read the Kafka Streams chapters (Early–Middle)**: the KStream and Processor API material is the conceptual core; everything later builds on it.
- **Skim if you already know Kafka Connect or Schema Registry**: these integration chapters are valuable context but may be familiar to experienced Kafka users.
- **Treat ksqlDB as a parallel track, not a replacement**: if you already write Kafka Streams code, focus on where ksqlDB's declarative model saves effort versus where code gives more control.
- **Save the end-to-end projects for last and actually build them**: they are the intended consolidation point and will expose gaps in earlier understanding.
- **Keep the operational chapter handy as reference**: testing, monitoring, and debugging guidance is more useful revisited during real projects than read once.
【Coverage Limits】
The available excerpts consist only of the book's front matter and description; they do not cover specific chapter titles, code examples, benchmark figures, or detailed technical content. This guide therefore maps the book's stated scope and structure rather than its internal specifics.
Excerpt 1
书名: Kafka Streams in Action, Second Edition (MEAP V13) (Bill Bejeck) (Z-Library) 作者: Bill Bejeck Everything you need to implement stream processing on Apache...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Kafka Streams in Action, Second Edition (MEAP V13) (Bill Bejeck)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Kafka Streams in Action, Second Edition (MEAP V13) (Bill Bejeck)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
Loading comments...
Reply to Comment
Edit Comment