Kafkatorio/modules/events-server-syslog
Lazzexus fa28cd9713 Fix syslog server silently dropping packets under load
The syslog parser reuses its result map for each line it parses, and
SyslogMsg kept a reference to that map instead of a copy. The producer
consumes messages concurrently with the reader, so by the time a message
was checked, its map had sometimes already been overwritten by the next
line; the message then failed the 'KafkatorioPacket:::' filter and was
dropped without any log. Under real load (bursts of map chunk packets)
most packets were lost.

Copy the parsed map, and log Kafka producer send failures instead of
ignoring them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 18:58:21 +02:00
..
docker [docker-files] remove user config 2022-10-22 23:36:00 +02:00
src/main/kotlin/dev/adamko/kafkatorio/processor/syslog Fix syslog server silently dropping packets under load 2026-10-12 18:58:21 +02:00
build.gradle.kts update dockerfiles 2022-10-22 19:55:02 +02:00