Liking cljdoc? Tell your friends :D

jackdaw

Clojars Project cljdoc test Renovate

Jackdaw is a Clojure library for the Apache Kafka distributed streaming platform. With Jackdaw, you can create and list topics using the AdminClient API, produce and consume records using the Producer and Consumer APIs, and create stream processing applications using the Streams API. Jackdaw also contains functions to serialize and deserialize records as JSON, EDN, and Avro, as well as functions for writing unit and integration tests.

Maintenance fork. This is a maintained continuation of fundingcircle/jackdaw (unmaintained since 2024), modernized for Apache Kafka 4.x. It is published under a new coordinate, net.clojars.savya/jackdaw. See the CHANGELOG for the 4.x migration notes.

Stack

Clojure Apache Kafka

Installation

Leiningen / Boot:

[net.clojars.savya/jackdaw "1.3.6"]

deps.edn:

net.clojars.savya/jackdaw {:mvn/version "1.3.6"}

Jackdaw resolves Confluent artifacts from the Confluent Maven repository; add https://packages.confluent.io/maven/ to your :repositories (Leiningen) or :mvn/repos (deps.edn).

Supported versions

Jackdaw 1.3.6 requires Clojure >= 1.10, JDK 17+, and Apache Kafka 4.x / Confluent Platform 8.x brokers. (The Clojure floor is set by the datafy protocol, introduced in 1.10.)

Documentation

You can find all the documentation on cljdoc.

Examples

Contributing

We welcome any thoughts or patches - open an issue on this fork.

Run the broker-free unit suite:

clojure -M:test

Run the full suite against Kafka, schema registry, and Kafka REST Proxy:

docker compose up -d --wait
clojure -M:test --no-config
docker compose down -v

Run only tests tagged as integration against that stack:

clojure -M:test --no-config --focus-meta :integration

Related projects

If you want to get more insight about your topologies, you can use the Topology Grapher library to generate graphs. See an example using jackdaw to check how to integrate it with your topology.

Releasing

This fork self-publishes to Clojars under net.clojars.savya/jackdaw.

  1. Bump the version in build.clj and project.clj, then add a dated entry to CHANGELOG.md.
  2. Run clojure -M:test and clojure -T:build jar.
  3. Deploy: CLOJARS_USERNAME=<user> CLOJARS_PASSWORD=<clojars-deploy-token> clojure -T:build deploy.
  4. Tag the release: git tag v<version> && git push --tags.

License

Copyright © 2017 Funding Circle

Maintenance fork (2026) by Savyasachi; original: https://github.com/fundingcircle/jackdaw

Distributed under the BSD 3-Clause License.

Can you improve this documentation? These fine people already did:
Charles Reese, Savyasachi, Andy Chambers, Andrea Crotti, Aaron Probus, Matt Searle, Matthias Margush, Tianxiang Xiong, Matt Ford, Reid 'arrdem' McKenzie, jordan brooks, LouiseKlodt, Radford Smith & Francisco Viramontes
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close