Skip to main content

5 docs tagged with "producer"

View all tags

Hash Key Partitions

Kafka uses a hash of the message key to determine partition assignment. Understanding this mechanism is essential for ordering guarantees, avoiding hot partitions, and designing correct partition keys.

Kafka Producer

A **producer** is a client application that publishes (writes) messages to Kafka topics. It is responsible for:

Producer Acknowledgements (acks)

The `acks` configuration controls **how many broker acknowledgements the producer requires before considering a send successful**. It directly trades off.