Documentation
¶
Overview ¶
Package outbox implements SQL transactional event storage and at-least-once Kafka delivery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SQLStore ¶
type SQLStore struct {
DB *sql.DB
Dialect string
Producer kafka.Producer
BatchSize, MaxAttempts int
RetryDelay time.Duration
}
SQLStore uses database row locks and SKIP LOCKED for claims. Run migrations explicitly.
func (SQLStore) Cleanup ¶
Cleanup deletes completed records older than cutoff; failed records require explicit operator disposition.
Click to show internal directories.
Click to hide internal directories.