Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat 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
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud 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

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • 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: January 2022

February 10, 2022
Mickael Maison
Related topics:
Event-DrivenJavaKafkaKubernetes
Related products:
Red Hat OpenShift

Share:

    This 48th edition of the Kafka Monthly Digest covers what happened in the Apache Kafka community in January 2022. The release of Apache Kafka 3.1.0 is the big news, including updates to Kafka Connect and Kafka Streams. I'll also discuss new KIPs and open source releases in January 2022.

    This is the fourth anniversary of this series! If you are interested in the history behind the Kafka Monthly Digest, last year I explained on Twitter how I got started.

    For last month's digest, see Kafka Monthly Digest: December 2021.

    Kafka 3.1.0 release

    David Jacot released Kafka 3.1.0 on January 24 and published an announcement on the Apache blog. As always, you can find the complete list of changes in the release notes or the release plan on the Kafka wiki.

    Kafka 3.1 adds support for Java 17. Note that running Kafka in KRaft mode (without ZooKeeper) is still not ready for production.

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

    Kafka brokers and clients

    Updates to the Kafka broker and clients include the following:

    • A production-ready OAuth implementation with OpenID Connect (OIDC) support (KIP-768).
    • Metrics improvements include new metrics for active and fenced brokers (KIP-748) and consistent names for latency metrics (KIP-773).
    • Topic IDs that were introduced in Kafka 2.8 are now used in FetchRequests (KIP-516).

    Kafka Connect

    The ReplicationPolicy interface allows you to customize the names of MirrorMaker internal topics (KIP-690).

    Kafka Streams

    Updates to Kafka Streams include the following:

    • Foreign-key joins can now be performed using custom partitioners (KIP-775).
    • Querying ReadOnlySessionStore, ReadOnlyWindowStore, and ReadOnlyKeyValueStore with unbounded ranges is now supported (KIP-763 and KIP-766).
    • The eager rebalance protocol is now deprecated. The new protocol, cooperative rebalancing, has been the default since Kafka 2.2. Eager will be removed in the next major release (KAFKA-13439).
    • All uncaught exceptions are now wrapped into StreamsException (KIP-783).

    Kafka Improvement Proposals

    Last month, the community submitted seven KIPs (KIP-812 to KIP-818). I'll highlight just a few of them:

    • KIP-813: Shareable state stores: This KIP proposes a mechanism for reusing existing Kafka Streams state stores in other Streams applications. In scenarios where multiple applications perform similar processing steps, this could be useful to avoid doing the same processing twice.

    • KIP-814: Static membership protocol should let the leader skip assignment: This KIP's goal is to improve support for static consumer group membership (introduced in Kafka 2.4). Today, in some cases, consumer groups with static membership can end up without a leader and miss metadata updates.

    • KIP-817: Fix inconsistency in dynamic application log levels: There are two methods for changing Kafka's log at runtime: Java Management Extensions (JMX) and the Admin API. However, there are some inconsistencies in the levels they support. For example, it's not possible to set a logger to OFF via the Admin API. This KIP aims at clearing up those inconsistencies.

    Community releases for Apache Kafka

    This section covers a few notable open source community project releases:

    • A Great Day Out With... Apache Kafka: This is a curated list of resources, projects, tools, and products for people getting started with Kafka. The most recent update added the latest key Kafka resources people should be aware of when working with the platform.

    • Sarama 1.31: Sarama is a pure Go language Kafka client. This new release adds support for IncrementalAlterConfigs in the Admin client, improves request pipelining for the producer, and as usual fixes a few bugs.

    Kafka blogs and articles

    Here are a few of the most noteworthy Kafka-related blogs and articles published in January 2022:

    • 5 common pitfalls when using Apache Kafka
    • Kafka Streams: Iterative development and blue-green deployment
    • Towards a MongoDB-backed Apache Kafka Streams state store

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

    Last updated: September 20, 2023

    Related Posts

    • Capture database changes with Debezium Apache Kafka connectors

    • Build a data streaming pipeline using Kafka Streams and Quarkus

    • Visualize your Apache Kafka Streams using the Quarkus Dev UI

    • How to use MirrorMaker 2 with OpenShift Streams for Apache Kafka

    • Connect IoT devices with Drogue IoT and OpenShift Streams for Apache Kafka

    Recent Posts

    • Krkn-AI: A feedback-driven approach to chaos engineering

    • How to import provider network routes to OpenShift via BGP

    • A case study in Kubelet regression in OpenShift

    • Profiling vLLM Inference Server with GPU acceleration on RHEL

    • Network performance in distributed training: Maximizing GPU utilization on OpenShift

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

    Red Hat legal and privacy links

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

    Report a website issue