Producer and consumer in Apache Kafka®

Apache Kafka® is a high-throughput distributed system for exchanging messages between data producers and consumers.

Producer

A producer is a data source application responsible for publishing messages to Apache Kafka® topic partitions. Topics can be shared between different brokers by partitions.

To write messages to a topic and topic partition, an application must be granted the appropriate rights.

Consumer

A consumer is an application responsible for receiving messages from a topic and processing them.

To subscribe to a topic, an application must be granted the appropriate rights.

For more information, see the official Apache Kafka® documentation for producers and consumers .

See also

In this article: