Kafka Producer Timing

In this post I want to summarize some important Kafka producer’s configurations that usually are not taken in consideration when dealing with Kafka. max.block.ms: This timeout controls how long the producer may block when entering the send() method. This configuration provides an upper bound timeout for time spent waiting for metadata from the broker. Hence this timeout can be triggered when the producer’s send buffer is full or when topic metadata is not available....

December 4, 2021 · 3 min · Justin