Kafka Producer

In this tutorial, you will learn how to configure Kafka Producer retries using two distinct approaches: The first approach utilizes the spring.kafka.producer.retries and spring.kafka.producer.properties.retry.backoff.ms configuration properties to define the number of retry attempts and the delay between them. The second approach involves the spring.kafka.producer.properties.linger.ms and spring.kafka.producer.properties.request.timeout.ms properties to manage the batching time and response timeout…

Read More Kafka Producer Retries in Spring Boot Microservice

When you send out messages in Kafka, it’s essential to know they’ve been received and saved properly. That’s where two important settings come in: spring.kafka.producer.acks and min.insync.replicas. These settings help ensure that your messages are safely stored and acknowledged by the Kafka brokers. In this tutorial, I’ll explain what these settings are, how to configure…

Read More Kafka Producer Acknowledgments in Spring Boot Microservice