Docker: Improve kafka configuration.
This commit is contained in:
parent
0f14a36cfe
commit
591bc88c2e
@ -7,4 +7,4 @@ WEB_UI_DOCKER_NAME=tb-web-ui
|
||||
|
||||
TB_VERSION=2.2.0-SNAPSHOT
|
||||
|
||||
KAFKA_TOPICS=js.eval.requests:100:1
|
||||
KAFKA_TOPICS=js.eval.requests:100:1:delete --config=retention.ms=60000 --config=retention.bytes=1073741824
|
||||
|
||||
@ -36,6 +36,9 @@ services:
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
|
||||
KAFKA_CREATE_TOPICS: "${KAFKA_TOPICS}"
|
||||
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false'
|
||||
KAFKA_LOG_RETENTION_BYTES: 1073741824
|
||||
KAFKA_LOG_RETENTION_MS: 300000
|
||||
KAFKA_LOG_CLEANUP_POLICY: delete
|
||||
depends_on:
|
||||
- zookeeper
|
||||
tb-js-executor:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user