Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Kafka Monthly Digest: July 2024

August 1, 2024
Mickael Maison
Related topics:
Kafka
Related products:
Streams for Apache Kafka

    This 78th edition of the Kafka Monthly Digest covers what happened in the Apache Kafka community in July 2024.

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

    Releases

    There is a new release, 3.8.0, and 3.9.0 is in progress:

    3.8.0

    Josep Prat published 3.8.0 RC0 on July 12 but an issue in the Admin client was quickly identified. Then 3.8.0 RC1 was published on July 15 but a regression in Connect was found. A third release candidate was published on July 18 but another issue this time in the log layer was found. Finally RC4 was published on July 26. It passed the vote and Kafka 3.8.0 released on July 29. 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 several new features and many bug fixes. Tiered Storage is still in early access.
     

    Kafka brokers and clients

    Updates to the Kafka broker and clients include the following:

    • JBOD support in KRaft mode is now production ready. (KIP-858)
    • Tiered storage now supports JBOD but it remains in early access.
    • The new consumer protocol introduced in Kafka 3.7 in early access has received a lot of improvements. See the release notes for instructions on how to get started. Note that this feature is still not production ready. (KIP-848)
    • The compression level when using gzip, lz4 and zstd can now be configured. This allows optimizing the compression for your use cases and potentially improve latency and throughput. (KIP-390)
    • A new Docker image kafka-native is available. It uses GraalVM to run Kafka as a native application, so it starts significantly faster and uses less memory than the regular Docker image. (KIP-974)
    • The File and Directory configuration providers now allow restricting paths that can be accessed. (KIP-933)
       

    Kafka Connect

    Updates to Kafka Connect include the following:

    • The configuration of connectors can be updated partially using the new PATCH /connectors/<id>/config REST API endpoint. (KIP-477)
    • The maximum number of tasks created by a connector can now be enforced using the tasks.max.enforce configuration. (KIP-1004)
       

    Kafka Streams

    Updates to Kafka Streams include the following:

    • State stores can now be shared across applications. There are two new methods on Topology named addReadOnlyStateStore() that allow specifying a changelog topic to reuse. (KIP-813)
    • The task assignor can be customized by implementing the new TaskAssignor interface. (KIP-924)
       

    3.9.0

    The release process of 3.9.0 continued. Colin McCabe cut the 3.9 branch on July 30. You can find the release plan in the wiki.

    Kafka Improvement Proposals

    Last month, the community submitted 8 KIPs (KIP-1066 to KIP-1074, KIP-1069 was skipped). I'll highlight a few of them:

    • KIP-1066: Mechanism to cordon brokers and log directories: When new topics or partitions are created, Kafka always tries to distribute them across all brokers in the cluster. This works very well in most cases but it is not optimal when the cluster is being scale in or out. In these scenarios it's better to assign the new partitions to a subset of the brokers (the new brokers when scaling out, the brokers remaining when scaling in). This KIP proposes a mechanism to prevent assigning new partitions to specific log directories and brokers. It reuses the "cordon" terminology from Kubernetes to make a broker or log directory unable to host any new partitions.
       
    • KIP-1068: New metrics for the new KafkaConsumer: Kafka 3.7 introduced a new consumer rebalance protocol via KIP-848 (still in early access). This KIP adds new metrics to the Consumer when it's using the new rebalance protocol.
       
    • KIP-1071: Streams Rebalance Protocol: This KIP aims at updating the rebalance protocol used by Streams to follow the new consumer rebalance protocol from KIP-848. With this new protocol, the group coordinator will be responsible for computing the task assignments and creating internal topics. The goal is also to make stand-by and warm-up tasks first class citizens in the protocol.
       
    • KIP-1073: Return inactive observer nodes in DescribeQuorum response: In KRaft mode, when a broker is decommissioned, it needs to be explicitly unregistered from the cluster. This is done using the Admin.unregisterBroker() API and providing the Id of the broker to unregister. However at the moment there isn't a mechanism to retrieve the Ids of all registered brokers, the Admin.describeMetadataQuorum() API only returns brokers that are currently online. This KIP proposes enhancing the DescribeQuorum API to also include offline brokers.

       

    Community Releases

    • strimzi-kafka-operator 0.42: Strimzi is a Kubernetes Operator for running Kafka. This new release adds support for Kafka 3.7.1. The UseKRaft feature gate is now permanently enabled, so to use KRaft when deploying a new cluster you just need to set the strimzi.io/kraft: enabled annotation on your Kafka custom resource.
       
    • Librdkafka 2.5: Librdkafka is a Kafka client in C/C++. This release adds support for KIP-951 so new leaders can be discovered more efficiently when there are partition leadership changes, and it also supports sending client metrics to brokers for better observability (KIP-714).
       

    Blogs

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

    • Building and scaling Notion’s data lake
    • Introduction to Kafka Tiered Storage at Uber

    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

    • MCP servers vs. skills: Choosing the right context for your AI

    • How to route external and local LLMs with Models-as-a-Service

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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

    Chat Support

    Please log in with your Red Hat account to access chat support.