Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultMaxNumberOfMessages = int64(10) DefaultWaitTimeSeconds = int64(5) DefaultConcurrency = 1 DefaultDeleteStrategy = DeleteStrategyOnSuccess )
View Source
var ( DeleteStrategyImmediate = DeleteStrategy("IMMEDIATE") DeleteStrategyOnSuccess = DeleteStrategy("ON_SUCCESS") )
Functions ¶
This section is empty.
Types ¶
type ConsumerBatchFn ¶
type ConsumerFn ¶
type DataSource ¶
type DataSource interface {
Start(ctx context.Context, consumeFn ConsumerFn) error
}
type DeleteStrategy ¶ added in v0.1.1
type DeleteStrategy string
type SQS ¶
type SQS struct {
// contains filtered or unexported fields
}
func (*SQS) StartBatched ¶
func (s *SQS) StartBatched(ctx context.Context, batcher *batcher.Batcher, consumeFn ConsumerBatchFn) error
Click to show internal directories.
Click to hide internal directories.