- Apache Kafka Quick Start Guide
- Raúl Estrada
- 193字
- 2021-07-02 14:26:55
Message Validation
Chapter 1, Configuring Kafka, focused on how to set up a Kafka cluster and run a command-line producer and a consumer. Having the event producer, we now have to process those events.
Before going into detail, let's present our case study. We need to model the systems of Monedero, a fictional company whose core business is cryptocurrency exchange. Monedero wants to base its IT infrastructure on an enterprise service bus (ESB) built with Apache Kafka. The Monedero IT department wants to unify the service backbone across the organization. Monedero also has worldwide, web-based, and mobile-app-based clients, so a real-time response is fundamental.
Online customers worldwide browse the Monedero website to exchange their cryptocurrencies. There are a lot of use cases that customers can perform in Monedero, but this example is focused on the part of the exchange workflow specifically from the web application.
This chapter covers the following topics:
- Modeling the messages in JSON format
- Setting up a Kafka project with Gradle
- Reading from Kafka with a Java client
- Writing to Kafka with a Java client
- Running a processing engine pipeline
- Coding a Validator in Java
- Running the validation
- Learn Type:Driven Development
- Instant Zepto.js
- Java從入門到精通(第5版)
- Functional Programming in JavaScript
- 云計算通俗講義(第3版)
- SQL Server 2012數據庫管理與開發項目教程
- Python編程:從入門到實踐
- Symfony2 Essentials
- Apache Kafka Quick Start Guide
- Java零基礎實戰
- Spring Boot+MVC實戰指南
- Mastering Elixir
- Python Digital Forensics Cookbook
- 軟件測試技術
- Implementing Microsoft Dynamics NAV(Third Edition)