Repository navigation
streamjack now leads with one question: what does a Kafka consumer lose when it is killed mid-flight? The agent-safety
runner, scenarios, and report formats are unchanged.
Try it
- Loss fuzzer:
mvn -pl loss-fuzzer verifyruns a SmallRye Kafka consumer (Quarkus 4.0.1, SmallRye Reactive
Messaging 5.0.0) against disposable Kafka 4.2.1, kills it about 4 s after four records are sent, restarts it in the
same groups, and writes per-record evidence (expected and observed destination, attempts, offsets, dead-letter
topic, logs). The sequential control processes all four records; the concurrent case losesfail-slow
(smallrye-reactive-messaging#3655). Set-Dsmallrye-reactive-messaging.versionto check a SmallRye build, such
as a proposed fix. See the loss fuzzer.
Findings
- Upstream reports: how reports are made and fixes verified, with SmallRye #3655 (fix proposed and
verified before/after), Spring for Apache Kafka #5012 (fix proposed and verified), and SmallRye #3636 (confirmed by
a maintainer). - Ordered-by-key processing across a crash: 40 of 40 attempts on Windows and
Linux confirmed documented SmallRye behavior; no new bug. - One row, wrong decision: after share-group redelivery, a "no duplicates" check passed
while upsert and insert-if-absent each kept the stale decision in one write order. - v3 disclosure decision: the exact tested inputs stay private.
Project
- The README leads with the loss experiment; earlier studies are under Research, and reference material moved to
usage. A security policy and issue templates were added. - New modules, not published:
loss-fuzzerandordered-key-fixture, each pinned to its own Quarkus and SmallRye
versions.
Known limitations
- The loss fuzzer tests one bundled consumer, one partition, and one forced-kill schedule. It does not test your
application, and a green result does not mean a configuration cannot lose records. - Not published to Maven Central; build from source or use the attached runner JAR.