Confluent Developer ft. Tim Berglund, Adi Polak & Viktor Gamov cover image

Common Apache Kafka Mistakes to Avoid

Confluent Developer ft. Tim Berglund, Adi Polak & Viktor Gamov

00:00

The Importance of LingerMS in Batching

Kafka producer always attempts to batch records by topic in partition before sending them off. LingerMS controls the notion of when we open a new batch, how long am I willing to leave that batch open before I consider it closed and ready to send? Right, so I set LingerMS to the very minimum, and that way it will send every record immediately. Why is that about? Is it a bad idea? Yeah, it can be. There are some use cases out there where doing that is perfectly fine. But in 90% of these cases out there, you're going to want to set that LingerYou're going to wants to balance that with your cost - what

Play episode from 07:56
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app