Kafka, RabbitMQ & Queues
Batching
Batching amortizes network cost across records.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kafka, RabbitMQ & Queues
- Consumer lagBeginner · 4 min
Consumer lag measures distance between latest and committed offsets.
- Poison pillBeginner · 4 min
Poison pill is a record consumers cannot process successfully.
- RetentionBeginner · 5 min
Retention removes old logs by time or size policy.
- RebalanceBeginner · 5 min
Rebalance reassigns partitions among consumer group members.
- Kafka partitionsBeginner · 4 min
Kafka partitions provide ordered logs and units of assignment within a consumer group.
- Partition orderingIntermediate · 4 min
Kafka orders records only inside one partition, and never across partitions. Records that must stay in order need the same key, because the key decides which partition…