- config.yml: num.stream.threads can be set with
KAFKA_STREAMS_NUM_THREADS (default unchanged: 1). Map processing was
bottlenecked on a single stream thread while the host was mostly idle.
- Unraid example: run 3 stream threads (topics have 3 partitions), and
cap each JVM's heap via JAVA_OPTS. Without a cap each JVM defaults to
1/4 of the host's RAM, and the stack grew to ~14 GB.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A compose file for running the Kafkatorio services on the same Unraid
server as the Factorio server, via the Compose Manager plugin:
- syslog ingest bound to 127.0.0.1 only (the Docker syslog log driver
connects from the host), Kafka not exposed
- persistent Kafka data, with a fixed cluster ID so the data survives
image rebuilds
- the web map is the single public entry point
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>