somehow, things start to work togheter

This commit is contained in:
didier amyot committed 2018-07-15 18:25:30 -04:00
1 parent baf0d9840c
commit 27b4fd5727
10 files changed
+197 -113

No files matched your search

+14 -5
View File
@@ -1,28 +1,37 @@
{
;;
;; Specify which middleware to use, it will default to :chan.
:middleware :kafka
:kafka ;; all the kafka configuration
;; If set to true, orchestra will instrument all the spec'ed functions
:instrument-spec true
;; all the kafka configuration goes bellow.
:kafka
{:bootstrap.servers #or [#env KAFKA_BOOTSTRAP_SERVERS "localhost:9092"]
:topics-prefix "skirmish-01-"}
:api-server ;; possible config from http-kit's run-server that will affect the api-server
;; 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}
:api-bookkeeper ;; possible config from http-kit's run-server that will affect the api-bookkeeper
;; 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}
:securities ;; list of tradable securities
;; list of tradable securities
:securities
[{:sec-id :foo}
{:sec-id :bar}
{:sec-id :toto}
{:sec-id :tata}]
;; stupid parameters about benchmarking tools
:benchmark {
:number-of-requests-per-securities 30}}