31 lines
803 B
Clojure
31 lines
803 B
Clojure
{
|
|
;;
|
|
:middleware :kafka
|
|
:kafka ;; all the kafka configuration
|
|
{: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
|
|
{: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
|
|
{: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
|
|
[{:sec-id :foo}
|
|
{:sec-id :bar}
|
|
{:sec-id :toto}
|
|
{:sec-id :tata}]
|
|
|
|
:benchmark {
|
|
:number-of-requests-per-securities 30}}
|
|
|
|
|
|
|