Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Confluent 7 min read Release hardMaster

Introducing Apache Kafka 4.4.0

Apache Kafka 4.4.0 ships 25 KIPs and 963 commits since 4.3.0. Headline changes include dead-letter queues for share groups (KIP-1191), transactional state stores in Kafka Streams that avoid wiping state on exactly-once errors (KIP-892), and asynchronous bootstrap DNS resolution for clients (KIP-909). The release also adds controller unregistration, delayed tiered-storage upload, misrouted-connection detection, extra Linux I/O JMX metrics, and TxnOffsetCommit v6 with topic IDs and finer error codes. It deprecates broker.id, the Yammer group-coordinator metrics and kafka-broker-api-versions.sh. Storage directories are no longer forward-compatible with older brokers, and Connect can now be blocked from auto-creating its internal topics.

Related posts

  • Achieving relentless Kafka reliability at scale with the Streaming Platform

    Datadog Engineering mediumAdept

    Datadog runs hundreds of Kafka clusters with millions of partitions and built the Streaming Platform, a control layer that decouples producers and consumers from specific clusters through "Streams" spanning clusters, AZs and Kubernetes environments. A custom coordinator, the Assigner, replaces Kafka's timeout-based group coordination with metric-driven, seconds-scale rebalancing and live failovers that create a new topic and drain the old one. Head-of-line blocking is removed with priority lanes, a dead-letter lane for poison pills, and multi-range offset tracking stored in commit metadata, which also carries ingestion timestamps to compute real-time time lag from __consumer_offsets. After zstd decompression bombs crashed consumers, the team built libstreaming, a Rust Kafka client with bindings for other languages, and rejected a gRPC proxy because of throughput and latency costs.

  • How LY Corporation uses ClickHouse to observe one of the largest Kafka deployments on earth

    ClickHouse mediumAdept

    LY Corporation (LINE + Yahoo! Japan) runs a Kafka platform of 200+ brokers serving 25,000+ clients and handling 31M messages/sec at peak, over 1 trillion messages and 2.6 PB of I/O per day. Its observability stack spans end-to-end latency probes, Async Profiler, eBPF and kernel delay accounting, and disk SMART data. The key layer is a Kafka API request log pipeline: requests are intercepted, serialized with Protocol Buffers, sent through an internal Kafka cluster and batch-ingested into ClickHouse at 7M rows/sec, about 4.1 trillion rows on 24 nodes. SQL queries over these logs confirmed a race condition between Produce and ListOffsets that caused non-monotonic offsets and halted replication, which led to an upstream patch.

  • Announcing a New Official ClickHouse Kafka Connector

    ClickHouse mediumAdept

    ClickHouse released a beta open-source Kafka Connect sink that aims for exactly-once delivery into ClickHouse. Existing options all stop at at-least-once delivery: the Kafka table engine, Vector, and the JDBC/HTTP Kafka Connect sinks. The design builds on Kafka Connect's at-least-once behaviour and adds ClickHouse insert deduplication plus a state machine that forms consistent, repeatable batches. Connector state lives in ClickHouse Keeper, exposed through a new KeeperMap table engine because it offers linearizable writes without the latency of a strongly consistent replicated table. The connector supports most ClickHouse types, uses RowBinary for schema'd data and JSON for schemaless data, and has an in-memory test mode with no exactly-once guarantees.

  • Building Self-driving Kafka clusters using open source components

    Slack Engineering mediumAdept

    Slack standardized roughly 10 Kafka clusters (0.7 PB, 6.5 Gbps peak) onto Kafka 2.0.1 and automated their operation with Chef, Terraform ASGs, Consul-assigned Zookeeper IDs, Cruise Control, Kafka Manager and a Prometheus offset exporter. Hot spots were removed by making partition counts a multiple of broker count, balancing consumers, throttling replication bandwidth and moving partitions in small batches. Chaos testing with dark traffic showed recovery was limited by packets per second, which jumbo frames helped address. It also motivated a dedicated Zookeeper per Kafka cluster and a cut-over upgrade policy instead of in-place upgrades. Splitting the largest topics off a saturated 90-broker cluster onto d3en instances gave about 2.5x efficiency, cut worst-case log latency from about 1.5 hours to 3-4 minutes, and reduced monthly alerts from 71 to 9.

  • Kubernetes v1.37: Garhwal

    Kubernetes Blog mediumAdept

    Kubernetes v1.37 ships 67 enhancements: 16 Stable, 23 Beta, 27 Alpha and 1 deprecation. Highlights include stable resilient watch cache initialization, where kube-apiserver now returns HTTP 429 instead of overloading etcd, so clients should honor Retry-After and back off. HPA scale-to-zero reaches Beta for object and external metrics, admission policies can be loaded from static manifests, and Pod-level checkpoint/restore arrives in Alpha via new CRI RPCs. Stable graduations include KYAML, metrics.k8s.io v1, SELinux mount-based labeling (which can break Pods with different labels sharing a volume), several DRA features, StorageVersionMigration, and Pod certificates with ClusterTrustBundles.

The quest for software engineering knowledge.

Look:
Layout: