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

How to Use the Kafka Producer to Monitor Your Broker's Performance

When you use the Kafka producer, you can send just your Kafka record in it. That's typically where most people start. But there's a second attribute you can optionally give that is the producer callback. And that allows you to subscribe to your record and know that was it successful or was it not successful? It also comes back with a potential optional exception. You want to evaluate that exception looking for what happened, right? If you if you've set your linger too low, you've lowered your retries too much, and you're actually airing out all of this data on top of other things like dead letter queued up from brokers.

Play episode from 24: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