{ ;; Specify which middleware to use, it will default to :chan. :middleware :kafka ;; If set to true, orchestra will instrument all the spec'ed functions :instrument-spec true :datomic {:transactor-url "datomic:free://localhost:4334/skirmish"} ;; all the kafka configuration goes bellow. :kafka {:bootstrap.servers #or [#env KAFKA_BOOTSTRAP_SERVERS "localhost:9092"] :topics-prefix "skirmish-01-"} ;; possible config from http-kit's run-server that will affect the api-server :api-server {:port #long #or [#env API_SERVER_PORT 1602] :ip "0.0.0.0" :max-body 524288 ;; 512kb, small but enough :max-ws 524288} ;; possible config from http-kit's run-server that will affect the api-bookkeeper :api-bookkeeper {:port #long #or [#env API_SERVER_PORT 1603] :ip "0.0.0.0" :max-body 524288 ;; 512kb, small but enough :max-ws 524288} :ledger-server {:port #long #or [#env LEDGER_SERVER_PORT 1604] :ip "0.0.0.0" :max-body 524288 ;; 512kb, small but enough :max-ws 524288} :api-broker {:port #long #or [#env BROKER_SERVER_PORT 1605] :ip "0.0.0.0" :max-body 524288 ;; 512kb, small but enough :max-ws 524288 :datomic {:transactor-url "datomic:free://localhost:4334/skirmish.broker"}} :wui {:port #long #or [#env WUI_PORT 3000]} ;; list of tradable securities :securities [{:sec-id :dapm :currency :dapm :symbol "ლ" :name "didier amyot paper money" :interest-rate 1.1 ;; 10% per day :emitter "emitter publick key" :description "The default currency."} {:sec-id :foo :currency :dapm :name "the foo company" :description "Sell names to developer."} {:sec-id :bar :currency :dapm :name "bar international" :description "Steal company."} {:sec-id :toto :currency :dapm :name "La compagnie des toto" :description "Serait trop long pour ecrire ici."} {:sec-id :tata :currency :dapm :name "Unicorn startup" :description "ambition: conquerir le monde!"}] ;; stupid parameters about benchmarking tools :benchmark { :number-of-requests-per-securities 30}}