The services now run on Java 17, with a periodic G1 GC that returns unused heap to the OS when idle. Previously Java 11 kept the committed heap, so events-processors held 5.5 GB while its live data was ~250 MB. All RocksDB state stores now share one bounded block cache and write buffer (ROCKSDB_TOTAL_MEMORY_MB, default 256 MB), instead of each of the ~45 stores having its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
245 B
Docker
15 lines
245 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM eclipse-temurin:17-jdk-jammy
|
|
ARG KAFKATORIO_VERSION
|
|
ARG APP_FILES="build/"
|
|
|
|
|
|
ENV SERVER_DATA_DIR="/app/data" \
|
|
KAFKA_STREAMS_STATE_DIR="/app/state/kafka"
|
|
|
|
|
|
COPY ${APP_FILES} /app/
|
|
|
|
|
|
ENTRYPOINT /app/bin/run
|