Apache Kafka Notes
  • Introduction
  • Kafka Gurantees
  • Kafka Producers
    • Partitioning Strategy
    • Sending Messages
  • Intro
  • Topics
  • Messages
  • Partitions
  • Consumers
    • Group Coordinator
    • Notes
  • Zookeeper
  • HANDLING LARGE MESSAGES IN KAFKA
  • Version Incompatibilities
  • Use Cases
  • Message Delivery Semantics
  • API
  • References
  • Clusetr Setup
    • Single Node Single Borker
    • Single Node Multi Broker
    • Multi Node Mutil Broker
Powered by GitBook
On this page

Was this helpful?

Topics

The key abstraction in Kafka is the Topic. At the implementation level, a Kafka topic is just sharded write-ahead log. Topics are partitioned and each partition is represented by an ordered, immutable sequence of messages.

Processes that publish messages to a Kafka topic are referred to as Producers. Producers publish data to a topic by choosing the appropriate partition within the topic.

Processes that subscribe to topics and process the published messages are called Consumers.

Kafka is run as a cluster comprised of one or more servers each of which is called a Broker. Topics are created within the context of broker processes. topic is divided into parttions

A topic can be seen as a category, stream or feed to which a producer can publish messages. Consumers can read the published messages from the specified topics

![](/assets/import.png)
PreviousIntroNextMessages

Last updated 5 years ago

Was this helpful?