Liking cljdoc? Tell your friends :D

ziggurat.init

Contains the entry point for your application.

Contains the entry point for your application.
raw docstring

mainclj

(main start-fn stop-fn stream-routes)
(main start-fn stop-fn stream-routes actor-routes)

The entry point for your application.

Accepts stream-routes as a nested map keyed by the topic entities. Each topic entity is a map with a handler-fn described. For eg.,

{:default {:handler-fn (fn [message] :success)}} :handler-fn must return :success, :retry or :skip

start-fn takes no parameters, and will be run on application startup. stop-fn takes no parameters, and will be run on application shutdown.

The entry point for your application.

Accepts stream-routes as a nested map keyed by the topic entities.
Each topic entity is a map with a handler-fn described. For eg.,

{:default {:handler-fn (fn [message] :success)}}
:handler-fn must return :success, :retry or :skip

start-fn takes no parameters, and will be run on application startup.
stop-fn takes no parameters, and will be run on application shutdown.
sourceraw docstring

startclj

(start actor-start-fn stream-routes actor-routes)

Starts up Ziggurat's config, reporters, actor fn, rabbitmq connection and then streams, server etc

Starts up Ziggurat's config, reporters, actor fn, rabbitmq connection and then streams, server etc
sourceraw docstring

statsd-reporterclj

source

stopclj

(stop actor-stop-fn)

Calls the Ziggurat's state stop fns and then actor-stop-fn.

Calls the Ziggurat's state stop fns and then actor-stop-fn.
sourceraw docstring

StreamRouteclj

sourceraw docstring

validate-stream-routesclj

(validate-stream-routes stream-routes)
source

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

× close