feat(outbox): add publisher with confirms and reconnect

This commit is contained in:
kk10
2026-11-14 18:16:00 +03:00
parent d745395aa0
commit 425ffc6182
4 changed files with 158 additions and 10 deletions
+17
View File
@@ -0,0 +1,17 @@
package model
import (
"time"
"github.com/google/uuid"
)
type AttachmentJob struct {
SchemaVersion int `json:"schema_version"`
JobID uuid.UUID `json:"job_id"`
Type string `json:"type"`
AttachmentID uuid.UUID `json:"attachment_id"`
PipelineVersion int `json:"pipeline_version"`
Attempt int `json:"attempt"`
CreatedAt time.Time `json:"created_at"`
}