feat: add Spigot event producer
Release / release (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
dmg
2026-08-01 11:49:07 -04:00
commit 12c0313947
34 changed files with 2159 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# A human-readable stable name for this Minecraft server.
server-name: "minecraft-server"
# Generated once and persisted here when left empty. Do not copy the generated
# value to another server; it is the stable identity used in CloudEvent source.
server-id: ""
ingest-url: "https://events.dmg.games/events"
send-interval-seconds: 300
snapshot-interval-seconds: 60
http-timeout-seconds: 15
batch:
max-events: 1000
# Leaves headroom below the ingest server's default 1 MiB request limit.
max-bytes: 900000
# A send is also requested when either threshold is reached. This decision and
# all HTTP/SQLite work happen on the outbox worker, never the server thread.
dispatch-threshold:
events: 1000
bytes: 900000
statistics:
# Statistic maps are partitioned before becoming CloudEvents.
chunk-json-bytes: 200000
# Maximum statistic/material/entity combinations read on the main thread per tick.
operations-per-tick: 1000
+6
View File
@@ -0,0 +1,6 @@
name: SpigotEventProducer
version: '${version}'
main: games.dmg.spigotevents.SpigotEventProducerPlugin
api-version: '26.2'
author: dmg.games
description: Writes Minecraft CloudEvents to a durable outbox and delivers them to game-ingest-server.