Documentation ¶
Index ¶
- type Configurer
- type Plugin
- func (p *Plugin) ConsumerFromConfig(configKey string, pq priorityqueue.Queue) (jobs.Consumer, error)
- func (p *Plugin) ConsumerFromPipeline(pipe *pipeline.Pipeline, pq priorityqueue.Queue) (jobs.Consumer, error)
- func (p *Plugin) Init(log *zap.Logger, cfg Configurer) error
- func (p *Plugin) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) ConsumerFromConfig ¶
func (p *Plugin) ConsumerFromConfig(configKey string, pq priorityqueue.Queue) (jobs.Consumer, error)
ConsumerFromConfig constructs kafka driver from the .rr.yaml configuration
func (*Plugin) ConsumerFromPipeline ¶
func (p *Plugin) ConsumerFromPipeline(pipe *pipeline.Pipeline, pq priorityqueue.Queue) (jobs.Consumer, error)
ConsumerFromPipeline constructs kafka driver from pipeline
Click to show internal directories.
Click to hide internal directories.