steve-ayerhart / cl-kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A kafka client in common lisp.

it has the functions to query metadata and send messages, will be extended to consume messages.

(let ((connection (connect "localhost" 9092)))
  ;; Get all topic names
  (topic-names connection)
  
  ;; get number of partitions of a topic
  (partition-count connection "topic-name")
  
  ;; send message to a topic
  (send-message *con* "message-content" :topic "topic-name"))

About


Languages

Language:Common Lisp 97.4%Language:Shell 1.9%Language:NewLisp 0.7%