Aiven Blog

Jan 21, 2021

Aiven supports Apache Kafka® 2.7

Aiven for Apache Kafka moves to version 2.7. Read to find out what the key improvements in the new version are and how you can get in on the action.

Auri Poso, Technical Copywriter at Aiven

Auri Poso

|RSS Feed

Technical Copywriter at Aiven

Aiven is keeping up with the times and releases support for Apache Kafka version 2.7, announced on December 21, 2020. The new version comes with a number of enhancements across the board, including security updates and performance improvements. Read on to find out what the new version means for you.

Apache Kafka 2.7 highlights

PEM support

KIP-651: Support PEM format for private keys and SSL certificates

PEM format is now supported for storing and distributing cryptographic keys. New configuration options ssl.keystore.key, ssl.keystore.certificate.chain and ssl.truststore.certificates were added to support the new format.

Performance optimisations

KIP-612, part 1: Ability to limit connection creation rate on brokers

If too many new connections are created simultaneously, it can significantly reduce broker performance. To solve this issue, version 2.7.0 adds a new configuration option max.connection.creation.rate limiting the acceptable amount of new connections for a broker.

Version 2.7.0 provides a partial solution to the problem - more improvements are coming in future releases.

KIP-599: Throttle create topic, create partition, and delete topic operations

Creating or deleting a large number of concurrent topics may hurt controller performance. Therefore the number of requests for these resource demanding operations is limited with a new quota in this version. Requests exceeding this limit are rejected with the error THROTTLING_QUOTA_EXCEED.

KIP-450: Kafka Streams - Sliding window aggregations in the DSL

Sliding window aggregation allows Kafka Streams applications to capture the most recent updates in a stream at a given point of time. It provides a more efficient way to do these types of aggregations than currently used hopping window aggregation.

Getting rid of ZooKeeper dependencies

KIP-497: Add inter-broker API to alter ISR

With a new AlterIsr API, only controllers can now update the Leader and ISR state. Leaders can no longer mutate the state directly. This solves some problems with delayed and inconsistent ISR state and - most importantly - helps to eventually replace ZooKeeper with a self-managed metadata quorum.

KIP-554: Add broker-side SCRAM configuration API

New broker-based API to change SCRAM settings for users. It is no longer necessary to use ZooKeeper for making these changes, hence this improvement also plays part in a bigger effort to remove ZooKeeper.

The list above is only the tip of the iceberg. For this release, there are over 50 smaller improvements and 90+ bug fixes. Please check the details here.

How to get started with Aiven for Apache Kafka 2.7

You can either launch a brand new cluster in the Aiven console or conduct a no-downtime upgrade to the latest version.

Wrapping up

If you are not already using Aiven’s managed Apache Kafka, maybe you should be! Get started at our Aiven for Apache Kafka product page.

Not using Aiven services yet? Sign up now for your free trial at https://console.aiven.io/signup!

In the meantime, make sure you follow our changelog and blog RSS feeds or our LinkedIn and Twitter accounts to stay up-to-date with product and feature-related news.


Related resources

  • What's new at Aiven: Q1/2023 illustration

    Apr 14, 2023

    Our product and engineering teams at Aiven have been busy! Find out what was released in the first quarter of 2023.

  • What's new at Aiven: Q4/2022 illustration

    Feb 7, 2023

    Things are happening at Aiven! Find out what we released in the last quarter of 2022. Warning: there’s a lot of it.

  • Aiven supports Apache Kafka® 3.0 illustration

    Nov 25, 2021

    Apache Kafka® version 3.0 was announced on September 21, 2021, and Aiven already supports it. Find out about the enhancements across the board.