kafka-pipe: update filter "KafkatorioPacket encoded:::"
This commit is contained in:
parent
6a439b334d
commit
dbfbc9bbea
2 changed files with 2 additions and 2 deletions
|
|
@ -49,4 +49,4 @@ curl \
|
||||||
--insecure "http://localhost/v1.41/containers/factorio-server/attach?logs=true&stream=true&stdout=true&follow=true" |
|
--insecure "http://localhost/v1.41/containers/factorio-server/attach?logs=true&stream=true&stdout=true&follow=true" |
|
||||||
tail -c+9
|
tail -c+9
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ KEY="${INSTANCE_ID:-none}"
|
||||||
|
|
||||||
while :; do
|
while :; do
|
||||||
docker logs --tail 0 -f "$FACTORIO_SERVER_CONTAINER_NAME" |
|
docker logs --tail 0 -f "$FACTORIO_SERVER_CONTAINER_NAME" |
|
||||||
sed -n -e 's/^KafkatorioPacket: //p' |
|
sed -n -e 's/^KafkatorioPacket encoded::: //p' |
|
||||||
kcat -P \
|
kcat -P \
|
||||||
-b "$KAFKA_HOST" \
|
-b "$KAFKA_HOST" \
|
||||||
-t kafkatorio.src.server-log \
|
-t kafkatorio.src.server-log \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue