PrabinprabinKshrestha

Apache Kafka - Concepts

Apache Kafka has recently become very popular for data streaming. Many people also use it as a queuing and messaging platform, including for asynchronous communication.

For example, imagine an IoT (Internet of Things) system with many construction vehicles operating in a construction zone for a company. We want to track each vehicle’s movement, GPS location, activities, tire pressure, and other safety-related data. The goal is to log this information, visualize it later, and send notifications if any risks are detected.

This creates a large amount of data, as each vehicle may send multiple types of data every few seconds (for example, every 10 seconds). Apache Kafka Streams can handle this kind of data flow efficiently.

Apache Cluster and Broker

Topics, Partition and Offset

Topics

Partition

Offset

Topic Replication

Durability

Producers

Overview

Anatomy

Hashing

Acknowledgement

Consumers

Consumer Deserializer

Consumer Group

Consumer Offset