What is Kafka? Explain Kafka in detail.

  • Kafka is open-source software that provides a framework for storing, reading, and analyzing streaming data.
  • Kafka was originally created at LinkedIn, where it played a part in analyzing the connections between their millions of professional users in order to build networks between people.

How Kafka works?

Apache Kafka is a publish-subscribe-based durable messaging system. A messaging system sends messages between processes, applications, and servers.

Figure: This example topic has four partitions P1–P4.

  • Two different producer clients are publishing, independently from each other, new events to the topic by writing events over the network to the topic’s partitions.
  • Events with the same key (denoted by their color in the figure) are written to the same partition.

Note that both producers can write to the same partition if appropriate.

Uses of Kafka

  • Kafka is used for real-time streams of data, to collect big data, or to do real-time analysis (or both).
  • Kafka is used with in-memory microservices to provide durability and it can be used to feed events to CEP (complex event streaming systems) and IoT/IFTTT-style automation systems.

Kafka Tutorials

Next →



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store