...

/

Reliable Producers and Consumers

Reliable Producers and Consumers

This lesson explores the various configurations for Kafka producers and consumers for reliable message delivery.

Even if we configure Kafka brokers with the most reliable configuration settings, we can still experience data loss across the system because of settings used on the producers or consumers. Consider the following scenario.

  • Say, we have three replicas running, and the option to have an unclean election is turned off. The producer uses the configuration setting acks=1 when sending messages to the partition leader. The producer sends a ...

Access this course and 1400+ top-rated courses and projects.