record batch
A group of records sent to the broker together in one request, instead of one request per record.
In more detail
Batching cuts the number of network round trips and lets compression work across many records. The producer fills one batch per partition and sends it when it is full or when linger.ms expires.
Related terms
- batch.size — The producer setting for the maximum number of bytes collected into one partition's batch before it is sent.
- linger.ms — The producer setting for how many milliseconds to wait for more records before sending a batch that is not yet full.
- compression.type — The producer setting that compresses each batch with a codec such as gzip, snappy, lz4 or zstd before sending it.
- throughput — How much work a system completes per unit of time, such as requests per second.
Taught in
- The Payment That Was Charged Twice — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Where A Record Lands — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Error Storm That Fixes Itself — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Retention Deletes Files, Not Records — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Retry That Overtook — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Too Slow Between Two Polls — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Green Tests, Red Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Twelve Lines Instead Of Four Hundred — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Setting That Came Back — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Eleven Thousand Scans That Never Arrived — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Forty Minutes To Start — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Batching, Linger And Throughput — Apache Kafka & Event Streaming
- Idempotent Producers And Retries — Apache Kafka & Event Streaming