Liking cljdoc? Tell your friends :D

Eventful

Eventful is an Event Store client library which wraps around the JVM Client (TCP interface).

It provides (hopefully) Clojure-friendly functions to work with the Event Store and covers (almost) all of the API of the JVM Client.

Clojars Project

Warning

This library is still in alpha.

Demo

Console Stream Reader:

Console Stream Reader screenshot

Documentation

Usage

This small example demonstrates writing and reading an event:

(ns eventful.hello-world
  (:require [eventful.core :refer [connect write-events read-event]]))

(let [conn (connect {:hostname "127.0.0.1" :port 1113
                     :login    "admin"     :password "changeit"})]
  @(write-events {:conn conn :stream "inventory-item-1" :exp-ver :no-stream}
                 {:event :created :name "foo"})
  (prn @(read-event {:conn conn :stream "inventory-item-1"} 0)))

Not Implemented

License

Copyright © 2019 Paweł Stroiński

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Can you improve this documentation? These fine people already did:
Paweł Stroiński & Paweł Stroiński
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close