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: February 2024

March 1, 2024
Mickael Maison

Share:

    This 73rd edition of the Kafka Monthly Digest covers what happened in the Apache Kafka community in February 2024.

    For last month’s digest, see Kafka Monthly Digest: January 2024.

    Releases

    There is a new Kafka release: 3.7.0:

    3.7.0

    To address the issues identified with Kafka 3.7.0 RC2, Stanislav Kozlovski published 3.7.0 RC4 on February 9. The vote passed and 3.7.0 released on February 27. You can find the announcement on the Apache Kafka blog. You can also check the release notes and the release plan in the wiki.

    This new minor release brings a lot of bug fixes and several new interesting features, including support for JBOD in KRaft in early access and support for the new consumer group protocol also in early access.

    Kafka brokers and clients

    Updates to the Kafka broker and clients include the following:

    • JBOD (Just a Bunch of Disk) support in KRaft is available in early access. JBOD allows using several disks to store Kafka logs. This is not ready for production usage yet, you can check the JBOD specific release notes for details about the current state of this feature. (KIP-858)
    • The new consumer rebalance protocol is also available in early access. This new protocol moves most of the rebalance logic into the coordinator instead of clients. It keeps the same semantics for consumer groups but it is more efficient and should perform better. Check the specific release notes for this features for details about its current state. (KIP-848)
    • Clients can now send their metrics to brokers. This allows to easily collect client metrics and simplifies the monitoring the client-side applications. (KIP-714)
    • Apache Kafka now provides an official Docker image on Dockerhub. (KIP-975)

    Kafka Connect

    Updates to Kafka Connect include the following:

    • New built-in BooleanConverter. (KIP-959)
    • The /admin/loggers endpoint can now adjust log levels across all workers in a Connect cluster. (KIP-976)
    • Connectors can now be created in the stopped state. This is useful to allow setting initial offsets before starting a connector. (KIP-980)

    Kafka Streams

    Updates to Kafka Streams include the following:

    • Support for rack-aware task assignments. (KIP-925)
    • Null-key records are now allowed in some joins. (KIP-962)
    • A lot of improvements to the interactive queries v2 (IQv2) API, including support for versioned state stores (KIP-960, KIP-968), the ability to retrieve results in ascending or descending order (KIP-985)

    3.8.0

    On February 26, Josep Prat volunteered to be the release manager for Kafka 3.8.0. The release plan is available in the wiki.

    Kafka Improvement Proposals

    Last month, the community submitted 6 KIPs (KIP-1019 to KIP-1024). I'll highlight a few of them:

    • KIP-1019: Expose method to determine Metric Measurability: The KafkaMetric object is used to define metrics in the Kafka brokers and clients. It can contain a Gauge to retrieve an instant value, or a Measurable that tracks a quantity. Today there isn't a method to  determine what a KafkaMetric contains, you need to try calling its measurable() method and either get a Measurable or catch an exception if it contained a Gauge. This KIP proposes adding a new method, isMeasurable(), to solve this issue.
    • KIP-1021: Allow to get last stable offset (LSO) in kafka-get-offsets.sh: The kafka-get-offsets.sh tool allows retrieving the offset from a topic partition for a specified timestamp with the --time flag. It also supports retrieving important offsets such as the latest, earliest, max timestamp offsets using special negative values. When retrieving the latest offset, the tool currently returns the "high watermark" which is the latest offset that has been replicated to all the in-sync replicas. When using transactions, it can also be useful to find the last stable offset (LSO) which is is the latest offset that has been replicated to all the in-sync replicas and that is not in not part of an open transaction. Consumers configured with isolation.level=read_committed can consume records only up to the LSO. This KIP updates the kafka-get-offsets.sh to return the LSO if the --time flag is set to -6.
    • KIP-1022: Formatting and Updating Features: As Kafka gained features over time, at some point it became important to clearly define which features and their specific versions each broker supports. This is necessary for clients to ensure they make the best usage of the available APIs but also between brokers as some features can only be enabled once all brokers in the cluster support it. KIP-584 introduced a few years ago a versioning scheme for features that was tied to the broker metadata version. This KIP aims at making this more flexible by allowing to update the version of specific features via the kafka-storage.sh and kafka-features.sh tools.

    Community Releases

    • Sarama 1.43: Sarama is a pure Golang Kafka client. This version bumps the minimum supported Go version to 1.19 and adds support for providing a custom Service Principal Name when using Kerberos authentication.

    Blogs

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

    • Busting Myths: Exploring a Common Misconception behind Apache Kafka's Write Protocol
    • From Samza to Flink: A Decade of Stream Processing
       

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

    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

    • How to run a fraud detection AI model on RHEL CVMs

    • How we use software provenance at Red Hat

    • Alternatives to creating bootc images from scratch

    • How to update OpenStack Services on OpenShift

    • How to integrate vLLM inference into your macOS and iOS apps

    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