It is bundled with the core module, no extra dependencies required. It outputs the events into the standard output in EDN format, mostly intended for local development.
The available configuration options:
{:type :console
;; Whether or not to output must be pretty-printed (multiple lines)
:pretty? false
;; a function to apply to the sequence of events before publishing.
;; This transformation function can be used to filter, tranform,
;; anonymise events before they are published to a external system.
;; by defatult there is no transformation. (since v0.1.8)
:transform identity
}
How to use it:
(μ/start-publisher! {:type :console})
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close