Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Kafka Monthly Digest: September 2022

October 5, 2022
Mickael Maison
Related topics:
Kafka
Related products:
Red Hat OpenShift

Share:

    This 56th edition of the Kafka Monthly Digest covers what happened in the Apache Kafka community in September 2022.

    For last month’s digest, see Kafka Monthly Digest: August 2022.

    Releases

    Four bugfix versions, 2.8.2, 3.0.2, 3.1.2 and 3.2.3, have been released to address CVE-2022-34917. This CVE allows malicious clients to allocate large amounts of memory on brokers potentially leading to OutOfMemoryError and causing denial of service. You should upgrade to one of these releases as soon as possible.

    The next minor version, Kafka 3.3, has released.

    3.3.1

    Just before announcing 3.3.0 a couple of blocker JIRAs (KAFKA-14259 and KAFKA-14265) were found. So 3.3.0 was scrapped and on September 29 José Armando García Sancio published 3.3.1 RC0. The vote passed and 3.3.1 was released on October 3. As always, you can find the complete list of changes in the release notes (for 3.3.0 and 3.3.1) or the release plan on the Kafka wiki.

    This new minor release brings many new interesting features, which I'll highlight in the next sections.

    Kafka brokers and clients

    Updates to the Kafka broker and clients include the following:

    • Running Kafka in KRaft mode is now production ready. Note that there are still a few missing features such as configuring SCRAM or updating certain dynamic configurations via the admin API, support for JBOD configurations and delegation tokens. It's also still not possible to upgrade clusters using ZooKeeper to KRaft, this feature is currently planned to be ready by Kafka 3.5 (KIP-833).

    • Upgrades in KRaft mode are now supported. If you deploy a cluster with KRaft with 3.3 you will be able to upgrade it when Kafka 3.4 is released (KIP-778).

    • You can now retrieve the total and free space of log directories via the Admin API describeLogDirs() method. (KIP-827).

    • The default partitioner has been updated to spread records uniformly. This partitioner is now used when partitioner.class is not set. (KIP-794).

    • The OffsetFetch request has been updated so it can retrieve the committed offsets for multiple groups at the same time. This can improve the performance of applications or tools managing multiple consumer groups (KIP-709).

    • Superusers can now create delegation tokens on behalf of other users (KIP-373).

    • There are now metrics that track log recovery at startup (KIP-831).

    Kafka Connect

    Updates to Kafka Connect include the following:

    • Source connectors can now provide exactly once semantics (KIP-618).

    Kafka Streams

    Updates to Kafka Streams include the following:

    • A number of recent improvements from the Processor API are now available via the Streams DSL API (KIP-820).

    • You can now pause and resume Streams topologies. This can be useful to reduce resource usage when processing is not required or when handling operational issues (KIP-834).

    KIPs

    Last month, the community submitted 6 KIPs (KIP-866 to KIP-872, 867 was skipped). I'll highlight a few of them:

    • KIP-866 ZooKeeper to KRaft Migration. This KIP proposes a mechanism to migrate Kafka clusters currently using ZooKeeper to KRaft. The goal is to allow migrating clusters to KRaft without impacting their availability or consistency.

    • KIP-868 Metadata Transactions. In KRaft mode, whenever a change in the cluster metadata happens, it is written into the __cluster_metadata topic. Some changes, like a topic creation, maps to several records in the topic. In these cases, in order to guarantee the atomicity of the change, the records are put in the same batch. However the maximum fetch size by members of the quorum, currently 8 kB, limits the maximum batch size and can prevent some changes from being applied. To address this issue, this KIP proposes a lightweight transaction mechanism when writing to the metadata topic so metadata records don't necessarily have to be in the same batch to be applied atomically.

    • KIP-869: Improve Streams State Restoration Visibility. When a Kafka Streams application rebalances, some tasks may need to restore their state. This process is currently hard to monitor. This KIP's goal is to provide metrics and APIs so users can easily track when tasks are restoring their state and see their progress.

    • KIP-870: Retention policy based on record event time. Kafka records have a timestamp field that is either set arbitrarily when producing them or set by the broker, using its own wall-clock time, when it receives them. Retention policies are applied by comparing the broker wall-clock time to timestamps so this can cause unexpected behaviors when records have arbitrary timestamps. This KIP proposes having two timestamp fields so one of the timestamp is always set to the broker wall-clock time.

    Community releases

    • strimzi-kafka-operator 0.31.1: Strimzi is a Kubernetes Operator for running Kafka. This release adds support for Kafka 3.1.2 and 3.2.3. It's now possible to run multiple cluster operator replicas and use IPv6 addresses in Strimzi issued certificates. It also deprecated support for Kubernetes 1.16, 1.17 and 1.18.

    Blogs

    I selected some interesting blog articles that were published last month:

    • Instrumenting Apache Kafka clients with OpenTelemetry
    • An Ideation for Kubernetes-native Kafka Connect
    • Exploring Popular Open-source Stream Processing Technologies: Part 1 of 2
    • Using Pixie to Monitor Strimzi Clusters and Kafka Applications

    To learn more about Kafka, visit Red Hat Developer's Apache Kafka topic page.

    Last updated: October 9, 2023
    Disclaimer: Please note the content in this blog post has not been thoroughly reviewed by the Red Hat Developer editorial team. Any opinions expressed in this post are the author's own and do not necessarily reflect the policies or positions of Red Hat.

    Recent Posts

    • GuideLLM: Evaluate LLM deployments for real-world inference

    • Unleashing multimodal magic with RamaLama

    • Integrate Red Hat AI Inference Server & LangChain in agentic workflows

    • Streamline multi-cloud operations with Ansible and ServiceNow

    • Automate dynamic application security testing with RapiDAST

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue