Commit Graph
2 Commits
Author SHA1 Message Date
kaliouich 6649a946cb fix(api): expose the Kafka publish metrics on the registry Prometheus scrapes
CI/CD Pipeline / test (push) Successful in 7s
CI/CD Pipeline / build-push-deploy (push) Successful in 21s
2026-10-26 11:32:45 +00:00
kaliouich 318523270c feat(api): publish creature events to Kafka
Every creature action (adopt, feed, play, sleep, kill, revive, delete) and
natural deaths from the decay loop are published to the tamagotchi.events
topic. Best effort: the database stays the source of truth and Kafka being
unavailable never fails a request. Disabled when KAFKA_BROKERS is unset.
2026-10-25 20:38:11 +00:00