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>
20 lines
326 B
Docker
20 lines
326 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM eclipse-temurin:17-jdk-jammy
|
|
ARG KAFKATORIO_VERSION
|
|
|
|
|
|
ENV SERVER_DATA_DIR="/app/data" \
|
|
KAFKA_STREAMS_STATE_DIR="/app/state/kafka" \
|
|
SERVER_PORT=8080 \
|
|
SOCKET_SERVER_PORT=9002
|
|
|
|
|
|
EXPOSE $SERVER_PORT \
|
|
$SOCKET_SERVER_PORT
|
|
|
|
|
|
COPY ${APP_FILES} /app/
|
|
|
|
|
|
ENTRYPOINT /app/bin/run
|