feat(ingest): batch event writes and harden transport

This commit is contained in:
William Valentin
2026-03-26 11:22:42 -07:00
parent 43877a5448
commit 6605780b58
4 changed files with 65 additions and 9 deletions
-4
View File
@@ -26,9 +26,5 @@ func (p *Publisher) Close() {
}
func (p *Publisher) Publish(ctx context.Context, data []byte) error {
ctx, cancel := context.WithTimeout(ctx, p.timeout)
defer cancel()
_ = ctx
return p.conn.Publish(p.topic, data)
}