Implemented middleware in a somewhat stateless fashion
This commit is contained in:
1 parent
0ccbb6bc1a
commit
f224665367
11 files changed
+124
-159
No files matched your search
+10
-3
@@ -1,11 +1,18 @@
|
||||
{
|
||||
;;
|
||||
:middleware :kafka
|
||||
:kafka
|
||||
:kafka ;; all the kafka configuration
|
||||
{:bootstrap.servers #or [#env KAFKA_BOOTSTRAP_SERVERS "localhost:9092"]
|
||||
:topics-prefix "skirmish-01-"}
|
||||
|
||||
:webserver ;; possible config from http-kit's run-server
|
||||
{:port #long #or [#env PORT 8080]
|
||||
: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}
|
||||
|
||||
Reference in new issue
Block a user