Skip to content

Releases

streamjack 0.4.0

Choose a tag to compare

@mosTavassoli mosTavassoli released this 05 Dec 10:09

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 verify runs 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 loses fail-slow
    (smallrye-reactive-messaging#3655). Set -Dsmallrye-reactive-messaging.version to 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-fuzzer and ordered-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.

streamjack 0.3.0

Choose a tag to compare

@mosTavassoli mosTavassoli released this 30 Nov 18:03

The first tagged release. Earlier work was unreleased; this entry summarizes what the release contains.

Try it

  • One-command pilot: mvn -pl sample-agent -am -Ppilot verify builds the sample agent, runs SJ-001 against it
    on disposable loopback Kafka, prints the verdict and the JSON report path, and cleans up. It needs Java 21, Maven,
    and a local Docker engine running Linux containers; no model service or API key. See the pilot.
  • Runner JAR: streamjack-kafka-all.jar is attached to the release, so you can run scenarios against your own
    agent without building the runner.

Harness

  • Scenario contract streamjack.dev/v1alpha1 and report format streamjack.dev/report/v1alpha2, with separate
    security and utility verdicts and deterministic checks (no LLM judge).
  • Kafka runner and CLI with a completion protocol and collection barrier; INCONCLUSIVE instead of a pass on
    incomplete evidence.
  • github-check: publishes a saved report as a GitHub check, or renders it offline.
  • Five bundled scenarios (SJ-001 to SJ-005).

Reference agent (Quarkus + LangChain4j)

  • Security modes HARDENED (default), PROMPT_ONLY, NEUTRAL, and VULNERABLE; scripted model by default, Ollama
    and OpenAI opt-in.
  • Opt-in customer identity from a trusted gateway header (streamjack.agent.identity-source=CHANNEL).
  • Opt-in durable follow-ups (STREAMJACK_FOLLOW_UP_STORE=POSTGRES): at most one retained PostgreSQL row per
    (ticketId, messageId) for a requested callback, crash-tested with two JVMs. See the results and
    ADR-0002.

Findings published with this release

See Findings: crash-tested follow-ups, share-group redelivery and the SmallRye lock-renewal
report, the v2 and v3 model studies (including their null results), the customer identity finding, the Kafka
publication boundary, and the local Ollama experiments.

Build changes

  • The executable JARs no longer carry the version in their names: streamjack-kafka/target/streamjack-kafka-all.jar
    and streamjack-bench/target/streamjack-bench-all.jar.

Known limitations

  • Not published to Maven Central; build from source or use the attached runner JAR.
  • The sample agent and its scenarios are a test fixture, not a production ticket system.
  • Testing your own agent requires implementing the Kafka protocol (header
    propagation, audit records, completion markers) by hand.

Download

streamjack-kafka-all.jar (Java 21): java -jar streamjack-kafka-all.jar --help

SHA-256: b9c0b2395874cb1d5a7f847765601f8cadbdf59140d91354360b0dec136bb0ca