Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobPoolEngine ¶
type JobPoolEngine struct {
// contains filtered or unexported fields
}
JobPoolEngine processes the messages from a JobPool in parallel, without any ordering guarantees
func New ¶
func New(queue goduck.MessagePool, processor goduck.Processor, nWorkers int) *JobPoolEngine
New creates a new JobPoolEngine
func NewFromEndpoint ¶ added in v0.3.0
func NewFromEndpoint( e endpoint.Endpoint, decoder goduck.EndpointDecoder, queue goduck.MessagePool, nWorkers int, ) *JobPoolEngine
NewFromEndpoint creates a JobPoolEngine from a go-kit endpoint
Click to show internal directories.
Click to hide internal directories.