Aiven Blog

Nov 25, 2021

Aiven supports Apache Kafka® 3.0

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

It's been a long two months, but Aiven has now implemented support for Apache Kafka version 3.0.

As this is a new major version, it comes with a number of enhancements across the board, as well as with some deprecations and API changes.

What's new

Group multiple consumer group offset requests

KIP-709: Extend OffsetFetch requests to accept multiple group ids

OffsetFetch API allows grouping multiple consumer group offset requests into a single fetch. This reduces request overhead and simplifies client code.

Strongest delivery guarantee by default

[KIP-679: Producer will enable strongest delivery guarantee by default](https://cwiki.apache.org/confluence/display/KAFKA/KIP-679%3A+Producer+will+enable+the+strongest+delivery+guarantee+by+default)

Producer config defaults are modified to make record delivery guarantees stronger by default. This ensures ordering, avoids duplicates and increases durability. As the modification could cause compatibility issues for some users, it is advised you go through the migration plan outlined in KIP-679.

Identify the liveliness of a topic/partition

KIP-734: Improve AdminClient.listOffsets to return timestamp and offset for the record with the largest timestamp

AdminClient.listOffsets API is extended with the capability to return the offset and timestamp of the record with the highest timestamp in a topic/partition. This allows easy identification if a topic/ partition is alive - being written to - or the health of it.

More granular restarting of connectors

KIP-745: Connect API to restart connector and tasks

Connect API is enhanced with added granularity to support restarting of only the failed connector and its tasks with a single call.

Karapace schema registry for Aiven for Apache Kafka 3.0

The open-source version of Confluent Schema Registry is no longer supported in Apache Kafka 3.0. As a replacement, Aiven provides a lightweight, fast and truly open source tool, Karapace. More information on migrating to Karapace is provided in the Help article End of support for Confluent Schema Registry on Aiven.

Deprecations

The following functionalities are deprecated in Apache Kafka 3.0:

  • MirrorMaker v1 is deprecated and will no longer be supported in Apache Kafka v4.0
  • Java 8 and Scala 2.12 programming language versions are deprecated and will be removed in v4.0.
  • Message formats v0 and v1 are deprecated and will be removed in Apache Kafka 4.0. Start upgrading your client applications to get the best performance.
  • IDEMPOTENT_WRITE is deprecated and will be removed in a future release. Update your application to use WRITE instead.

How to get started with Aiven for Apache Kafka 3.0

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

Wrapping up

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

  • The words "Apache Kafka® preserves the message ordering per topic/partition - or does it?" against a blue background with the Aiven cuddly crab logo in the corner

    Mar 21, 2023

    We’re told that Apache Kafka® preserves message ordering per topic/partition, but how true is that, and how close can we come to making it true?

  • Use your own connector with Twitter and Aiven for Apache Kafka® illustration

    May 24, 2022

    What if Aiven doesn't provide the Apache Kafka® connector you want? Read on to learn how to use an external connector, to gather Twitter messages into Kafka.

  • Hi, would you have time to discuss the product updates from Aiven from this quarter?

    Oct 31, 2022

    The team at Aiven has been busy last quarter with new releases across several of our services. Starting from the announcement of our ClickHouse Beta being available, we have lots of good stuff here. Read on for details about what’s been going on last quarter!