Documentation
¶
Index ¶
Constants ¶
View Source
const ( LIMIT = 1000 LOOKBACK = 72 * time.Hour )
View Source
const ( MAX_MESSAGES_PER_BATCH = 50 EVENT_LOCK_TIMEOUT = 3 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutboxProcessor ¶
type OutboxProcessor struct {
// contains filtered or unexported fields
}
func NewOutboxProcessor ¶
func NewOutboxProcessor( natsConn *nats_internal.NATSConnections, repos *repository.Repositories, ) *OutboxProcessor
func (*OutboxProcessor) Cleanup ¶ added in v0.0.69
func (s *OutboxProcessor) Cleanup(ctx context.Context) error
func (*OutboxProcessor) ProcessBatch ¶
func (p *OutboxProcessor) ProcessBatch(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.