Kinsky is a somewhat opinionated client library for Apache Kafka in Clojure.
Kinsky provides the following:
[[spootnik/kinsky "0.1.23"]]
Thanks a lot to these awesome contributors
The examples assume the following require forms:
(:require [kinsky.client :as client])
(let [p (client/producer {:bootstrap.servers "localhost:9092"}
(client/keyword-serializer)
(client/edn-serializer))]
(client/send! p "account" :account-a {:action :login}))
(let [c (client/consumer {:bootstrap.servers "localhost:9092"
:group.id "mygroup"}
(client/keyword-deserializer)
(client/edn-deserializer))]
(client/subscribe! c "account")
(client/poll! c 100))
Can you improve this documentation? These fine people already did:
Pierre-Yves Ritschard, Jérémy Van de Wyngaert, Francois Rey, Karthikeyan Chinnakonda, Marcus Spiegel, Daniel Truemper, Pyry Kovanen, Deon Tan, Wouter Dullaert, Jeff Stokes & Vasily KolesnikovEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close