Apache Kafka 2.1.0 is now available in the Aiven cloud. With Kafka 1.1, 2.0, and 2.1 available on the Aiven platform, you now have the most choices when it comes to what Kafka you want to run in production and where you want to run it.
This release comes with over 100 improvements and bug fixes that render Kafka even more stable, secure and up to 2.5x faster for TLS throughput. The most significant updates surround Java 11 support, but there are others worth highlighting. Let's dive in!
Significant updates within Apache Kafka
1. Support for Java 11
Kafka version 2.1.0 is the first to add support for Java 11 allowing Kafka to use CPU hardware instructions to speed up TLS encryption on Intel and AMD processors. This means much higher performance for environments where TLS is used. JVM 11 also comes with many other things like smoother garbage collection performance which should help with average latencies.
2. Support for ZStandard compression codec
ZStandard or, ztsd for short, is a new compression algorithm from Facebook that improves compression ratios over the previously supported snappy and lz4 algorithms considerably. This allows you to save on both bandwidth and storage costs.
3. Lots of small performance improvements
When reassigning a number of topics in Kafka versions prior to 2.1, things took a bit longer than they will in the future thanks to reduced chatter with Zookeeper. On a similar note, the controller on Kafka 2.1 should be a bit faster now with the advent of controller improvements introduced in the new release.
For a full listing of the improvements and bug fixes, you can visit the Apache Kafka release notes. You can also visit our cloud Kafka page to learn more about our managed offering if you don’t have an account.
Once there, you can sign up for a complimentary 30-day trial to test out our cloud Kafka and other services. If you’re already an Aiven customer, simply sign in and test out Kafka 2.1 for yourself.
Stay tuned for even more Aiven Kafka updates coming soon, such as a Kafka Connect UI that will make launching connectors even simpler. Subscribe to our changelog and Aiven blog RSS feeds, as well as our Linkedin and Twitter accounts to make sure you know when this happens!