Contains the entry point for your application.
Contains the entry point for your application.
(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.
(start actor-start-fn stream-routes actor-routes)
Starts up Ziggurat's config, actor fn, rabbitmq connection and then streams, server etc
Starts up Ziggurat's config, actor fn, rabbitmq connection and then streams, server etc
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close