VOOZH about

URL: https://thenewstack.io/kafka-3-8-brings-faster-startups-to-java-developers/

⇱ Kafka 3.8 Brings Faster Startups to Java Developers - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-08-02 12:12:11
Kafka 3.8 Brings Faster Startups to Java Developers
Data Streaming

Kafka 3.8 Brings Faster Startups to Java Developers

The newly-released upgrade to the open source data streaming platform also gives admins more control over compression levels.
Aug 2nd, 2024 12:12pm by Joab Jackson
👁 Featued image for: Kafka 3.8 Brings Faster Startups to Java Developers
Feature logo from the Apache Software Foundation. 

Java developers who wrangle with Kafka are getting some love from the new release of the open source data streaming platform.

The project has packaged the latest version, Kafka 3.8, in a GraalVM, a container for enterprise Java environments.

While not jaw-dropping, for Java developers this is some good news, noted Confluent Developer Advocate Sandon Jacobs, who, prior to joining Confluent, worked as a Java developer on Kafka.

Most developers are probably writing their apps for Kafka on local machines, and, as with any good development process, this involves lots of testing. Installing Kafka on a local machine with the Java Virtual Machine, and then re-installing it after things “blow up,” is a time-consuming process, he said.

The GraalVM, which works natively with the JVM, will streamline this process quite a bit, Jacobs said. Muck up your copy of Kafka, and you can just swap in a new GraalVM copy. Kafka itself is written in Java.

“The start-up times on these GraalVM images are phenomenal,” Jacobs said, in an interview with TNS. “It’s going to greatly increase the efficiency of developers in that restart cycle.”

Kafka has offered a Docker container of Kafka as well, though, with this release, the Kafka container will now be officially supported by Docker.

Performance Tuning in Kafka

Beyond the new packaging, many of the improvements with this release help users tune Kafka to be more performant.

For instance, users can now get a lot more control over which compression scheme to use. To date, Kafka offered a select number of compression schemes: gzip, lz4 and zstd, with default settings for each.

“These defaults give you a generally good performance. But now Apache Kafka with 3.8 allows you to be able to set that level, using the values for whatever compression codec that you’re using,” Jacobs said.

With compression, he explained, there is always a trade-off between throughput and CPU usage. The more compressed data is, the faster it goes through the system and the less storage it requires, but at the same time more computational power it requires to compress and decompress.

The new controls allow admins to put into effect their own preferences, allowing them to choose different levels, depending on their own needs.

“You got to find that trade-off for your use case,” Jacobs said.

2/9

KIP-390: Support Compression Level allows you to configure the compression level of each supported algorithm.

Used for both broker-side & producer-side compression.

It can increase performance substantially!https://t.co/oWY0alg2Zp pic.twitter.com/NyTOWKgZLu

— Stanislav Kozlovski (@BdKozlovski) July 30, 2024

In some tests, Confluent found that tweaking the compression level can lead to performance improvements of up to 156%, Jacobs said. And the default settings are still there, for those who don’t want to fiddle with these settings at all.

Likewise, more options are now available for storage, such as support for tiered storage, which now supports clusters configured with JBOD (“Just a Bunch of Disks”), allowing admins to store old data in slower, but more inexpensive object storage, and more readily-consulted data on faster SSDs on the servers.

The Consumer Rebalance Protocol has also gotten some performance adjustments as well, now in preview. The protocol was designed to spread workloads evenly across all members of a workgroup, or consumers of that group. The initial implementation took up too much computational overhead on the consumer side, and this release moves the work back to group coordinators, Jacobs explained.

Confluent and Kafka

Confluent is one of the chief contributors to the Kafka project, and offers a commercially-supported enterprise distribution as well as a cloud-based Kafka service.

Confluent will be holding its annual user Current conference Sept. 17-18 in Austin. TNS readers can get a 30% discount with the promo code NEWSTACK24.

Check the release notes for a full rundown of features of Kafka 3.8.

TRENDING STORIES
Joab Jackson is a senior editor for The New Stack, covering cloud native computing and system operations. He has reported on IT infrastructure and development for over 30 years, including stints at IDG and Government Computer News. Before that, he...
Read more from Joab Jackson
SHARE THIS STORY
TRENDING STORIES
Confluent and Docker are sponsors of The New Stack. 
TNS owner Insight Partners is an investor in: Docker.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.