Home / Companies / Confluent / Blog / Post Details
Content Deep Dive

Apache Kafka Message Compression

Blog post from Confluent

Post Details
Company
Date Published
Author
Lucia Cerchie, Dave Troiano, Dave Klein
Word Count
1,736
Company Posts That Month
16
Language
English
Hacker News Points
-
Post removed?
No
Summary

Apache Kafka supports incredibly high throughput by partitioning topics and allowing producers to send multiple messages to different partitions simultaneously. Compression can also improve throughput and efficiency by reducing network traffic, but it's essential to consider the compression type and batch size to achieve optimal performance. The producer's compression type should be set to match the topic-level compression type whenever possible, as brokers will recompress data if they don't. Compressed data must be decompressed by consumers, which can impact CPU, network, and disk utilization. It's crucial to coordinate compression types across producers to achieve optimal end-to-end performance. Additionally, encrypted data should not be compressed, and default configuration settings should be double-checked for consistency between client and original distribution.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 2,216 526 161 -9%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.