fix bugs (mostly tstl limitations) and improve schema structure a bit

This commit is contained in:
Adam 2022-01-08 14:02:30 +01:00
parent f97b0a6562
commit 56fa2cbf00
8 changed files with 23 additions and 25 deletions

View file

@ -15,7 +15,7 @@ INSTANCE_ID=$(cat /proc/sys/kernel/random/uuid)
while :; do
docker logs --tail 0 -f "$FACTORIO_SERVER_CONTAINER_NAME" |
sed -n -e 's/^FactorioEvent: //p' |
sed -n -e 's/^KafkatorioPacket: //p' |
kcat -P -T -b "$KAFKA_HOST" -t factorio-server-log -k "$INSTANCE_ID"
echo "Error - retrying in 10 seconds"