Pache Kafka Is An Open-Source Distr
Pache Kafka Is An Open-Source Distr
Producer:
Sends messages to Kafka topics.
Messages can include anything: logs, metrics, sensor data, or customer
transactions.
Consumer:
Reads messages from topics.
Consumers can process and act on the messages, such as storing them in
databases or triggering alerts.
Broker:
Kafka runs on a cluster of brokers, which are the servers that store and
serve messages.
The cluster ensures high availability and scalability by distributing data
across multiple brokers.
Topic:
A logical channel where producers send messages.
Each topic is divided into partitions for scalability. Multiple consumers
can read from a single topic in parallel.
Partition:
A topic can have multiple partitions to distribute data and load.
Each message within a partition is given a unique offset to ensure correct
ordering.
Consumer Group:
A group of consumers working together to read from a topic.
Kafka ensures that each message is processed by **only