Skip to content
CAI
Software that uses CAICheck a score

kafka4beam/wolff

69.3

Adequate · 15 November 2026

3.8k

lines of production code

Erlang

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added Kafka test environment setup scripts and configurations

The scripts directory now includes a new test environment setup, adding a \.env\ file for network configuration, \docker-compose.yml\ for Zookeeper-based Kafka clusters, and \docker-compose-kraft.yml\ for KRaft mode. A \setup-test-env.sh\ script automates the provisioning of these environments, supporting Kafka versions from 0.9 through 4.0 by selecting the appropriate compose file based on the version (Zookeeper for \<3.0, KRaft for \>=3.0) and creating initial test topics.

scripts · high confidence

Initial open-source release of Wolff Kafka producer

This change introduces the Wolff Kafka publisher as an open-source project, adding the Apache 2.0 license, a NOTICE file acknowledging its origin as a fork of the EMQ Technologies upstream, and a comprehensive README detailing its features such as disk-based replay queues, per-partition connection management, and auto-partition refresh. It also establishes the build infrastructure with a Makefile, rebar3 configuration, and test environment scripts.

(repo-wide) · high confidence

Initial release of the Wolff Kafka producer library

This change introduces the Wolff library, a new Erlang-based Kafka publisher. It provides a structured API for managing supervised clients and producers, supporting both static and dynamic topic configurations. Key capabilities include asynchronous and synchronous message sending, configurable batching (via \max\_linger\_ms\/\bytes\), retry policies (\max\_retry\), and memory-pressure handling (\drop\_if\_highmem\). The library integrates with \telemetry\ for observability, exposing metrics for inflight requests, queue sizes, and drop reasons, and relies on \kafka\_protocol\ and \replayq\ for underlying transport and disk buffering.

src · high confidence

Introduce Wolff configuration and registry macros

The Wolff library now exposes a central header file defining key constants and macros for the system. This includes error reason atoms (such as \message\_expired\ and \max\_retry\_exceeded\), the default Kafka message byte limit (1,000,000 bytes), and the names of the global ETS tables used for client and producer registration. It also defines macros for namespace-topic pairing and partition handling, establishing the foundational types and identifiers used by the client.

include · high confidence

Test coverage

Added comprehensive test suite for Wolff Kafka client

Added new test files including \wolff\_bench.erl\ for performance benchmarking, \wolff\_client\_SUITE.erl\ for client lifecycle and connection handling, \wolff\_dynamic\_topics\_SUITE.erl\ for dynamic topic support, and \wolff\_supervised\_tests.erl\ for supervised producer/client management. These tests cover scenarios such as auto-topic creation, leader connection retries, reconnection on recent disconnect, dynamic topic expiration, and telemetry event logging.

test · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 69 → 69 (-0.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 97 → 96 (-0.5)
  • Architecture 100 → 100 (+0.0)
  • Maturity 54 → 54 (+0.0)
  • Readiness 67 → 67 (+0.0)
  • Security 100 → 100 (+0.0)

New (3)

  • Edited copy of a member (2 corresponding lines) (src/wolff_client.erl)
  • Edited copy of a member (7 corresponding lines) (src/wolff_client_sup.erl)
  • Edited copy of a member (7 corresponding lines) (src/wolff_client_sup.erl)

Changes since last survey

  • 6 commits — 3 feature/other, 3 fixes

By area

  • (root) — 3 commits
  • (repo) — 2 commits
  • src/wolff_producer.erl — 1 commit

Notable commits

  • fix: Merge pull request #124 from zmstone/261109-fix-noack-alias
  • fix: fix: honor client_id from client config
  • fix: fix: release reply aliases for no-ack produce requests
  • change: Merge pull request #123 from terry-xiaoyu/wolff-client-id
  • change: docs: add changelog for 4.2.3
  • change: test: check no-ack alias allocations after 100000 requests

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

kafka4beam/wolff was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 2cb6e193b3dc3b4605b040ad3df56a37f09d2283 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.