Explain it in 60 seconds
Tuning Kafka producer and consumer performance
Data Engineering · Kafka Streaming · Experienced
What settings do you tune for Kafka throughput and latency?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Producer: batch.size, linger.ms, compression.type (lz4, zstd).
- Consumer: fetch.min.bytes, max.poll.records, max.poll.interval.ms.
- More partitions for parallelism.
- Broker: disk, network and replica fetcher settings.
- Trade-off: batching increases throughput but adds latency.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.