Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusProcessing = "PROCESSING" StatusSent = "SENT" )
Variables ¶
This section is empty.
Functions ¶
func NewOutboxModule ¶
Types ¶
type Message ¶
type Message struct {
Payload any // The actual message payload to be sent
EventID string // Unique event identifier - used as outbox record ID for idempotency (prevents duplicate messages)
Key string // Kafka partition key for ordering guarantees
Headers map[string]string // Kafka headers for trace propagation, event_type, etc.
}
Click to show internal directories.
Click to hide internal directories.