Apache Kafka Quick Start Guide: Leverage Apache Kafka 2.0 to simplify real-time data processing for distributed applications (Apache Kafka 快速入門指南:利用 Apache Kafka 2.0 簡化分散式應用程式的即時資料處理)

Raul Estrada

相關主題

商品描述

Process large volumes of data in real-time while building high performance and robust data stream processing pipeline using the latest Apache Kafka 2.0

Key Features

  • Solve practical large data and processing challenges with Kafka
  • Tackle data processing challenges like late events, windowing, and watermarking
  • Understand real-time streaming applications processing using Schema registry, Kafka connect, Kafka streams, and KSQL

Book Description

Apache Kafka is a great open source platform for handling your real-time data pipeline to ensure high-speed filtering and pattern matching on the ?y. In this book, you will learn how to use Apache Kafka for efficient processing of distributed applications and will get familiar with solving everyday problems in fast data and processing pipelines.

This book focuses on programming rather than the configuration management of Kafka clusters or DevOps. It starts off with the installation and setting up the development environment, before quickly moving on to performing fundamental messaging operations such as validation and enrichment.

Here you will learn about message composition with pure Kafka API and Kafka Streams. You will look into the transformation of messages in different formats, such asext, binary, XML, JSON, and AVRO. Next, you will learn how to expose the schemas contained in Kafka with the Schema Registry. You will then learn how to work with all relevant connectors with Kafka Connect. While working with Kafka Streams, you will perform various interesting operations on streams, such as windowing, joins, and aggregations. Finally, through KSQL, you will learn how to retrieve, insert, modify, and delete data streams, and how to manipulate watermarks and windows.

What you will learn

  • How to validate data with Kafka
  • Add information to existing data ?ows
  • Generate new information through message composition
  • Perform data validation and versioning with the Schema Registry
  • How to perform message Serialization and Deserialization
  • How to perform message Serialization and Deserialization
  • Process data streams with Kafka Streams
  • Understand the duality between tables and streams with KSQL

Who this book is for

This book is for developers who want to quickly master the practical concepts behind Apache Kafka. The audience need not have come across Apache Kafka previously; however, a familiarity of Java or any JVM language will be helpful in understanding the code in this book.

Table of Contents

  1. Configuring Kafka
  2. Message Validation
  3. Message Enrichment
  4. Serialization
  5. Schema Registry
  6. Kafka Streams
  7. KSQL
  8. Kafka Connect

商品描述(中文翻譯)

**實時處理大量數據,同時使用最新的 Apache Kafka 2.0 建立高效能且穩健的數據流處理管道**

**主要特點**
- 使用 Kafka 解決實際的大數據和處理挑戰
- 解決數據處理挑戰,如延遲事件、窗口和水印
- 理解使用 Schema Registry、Kafka Connect、Kafka Streams 和 KSQL 的實時流應用程序處理

**書籍描述**
Apache Kafka 是一個出色的開源平台,用於處理您的實時數據管道,以確保高速過濾和模式匹配。在本書中,您將學習如何使用 Apache Kafka 高效處理分散式應用程序,並熟悉在快速數據和處理管道中解決日常問題。

本書專注於編程,而非 Kafka 集群的配置管理或 DevOps。它從安裝和設置開發環境開始,然後迅速進入執行基本的消息操作,如驗證和豐富。

在這裡,您將學習使用純 Kafka API 和 Kafka Streams 進行消息組合。您將研究不同格式的消息轉換,如文本、二進制、XML、JSON 和 AVRO。接下來,您將學習如何使用 Schema Registry 曝露 Kafka 中的模式。然後,您將學習如何使用 Kafka Connect 處理所有相關的連接器。在使用 Kafka Streams 時,您將對流執行各種有趣的操作,如窗口、聯接和聚合。最後,通過 KSQL,您將學習如何檢索、插入、修改和刪除數據流,以及如何操作水印和窗口。

**您將學到的內容**
- 如何使用 Kafka 驗證數據
- 向現有數據流添加信息
- 通過消息組合生成新信息
- 使用 Schema Registry 執行數據驗證和版本控制
- 如何執行消息的序列化和反序列化
- 如何處理 Kafka Streams 的數據流
- 理解 KSQL 中表和流之間的二元性

**本書適合誰**
本書適合希望快速掌握 Apache Kafka 背後實用概念的開發人員。讀者不必之前接觸過 Apache Kafka;然而,熟悉 Java 或任何 JVM 語言將有助於理解本書中的代碼。

**目錄**
1. 配置 Kafka
2. 消息驗證
3. 消息豐富
4. 序列化
5. Schema Registry
6. Kafka Streams
7. KSQL
8. Kafka Connect