Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDisruptorBufferSize = 8192 DefaultDisruptorConcurrency = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AckConsumer ¶
type AckConsumer struct {
// contains filtered or unexported fields
}
func (AckConsumer) Consume ¶
func (c AckConsumer) Consume(lower, upper int64)
type DisruptorEvent ¶
type DisruptorEvent struct {
// contains filtered or unexported fields
}
type DisruptorPipeline ¶
type DisruptorPipeline struct { *pipeline.BasePipeline // contains filtered or unexported fields }
DisruptorPipeline gets events from input and sends them to output through disruptor.
func NewDisruptorPipeline ¶
func NewDisruptorPipeline() *DisruptorPipeline
func (*DisruptorPipeline) Configure ¶
func (p *DisruptorPipeline) Configure(config core.StringMap) (err error)
func (*DisruptorPipeline) Process ¶
func (p *DisruptorPipeline) Process(msg *core.Message)
func (*DisruptorPipeline) StartPipeline ¶
func (p *DisruptorPipeline) StartPipeline() (err error)
func (*DisruptorPipeline) StopPipeline ¶
func (p *DisruptorPipeline) StopPipeline()
type DisruptorPipelineConfig ¶
type ProcessConsumer ¶
type ProcessConsumer struct {
// contains filtered or unexported fields
}
func (ProcessConsumer) Consume ¶
func (c ProcessConsumer) Consume(lower, upper int64)
type SendConsumer ¶
type SendConsumer struct {
// contains filtered or unexported fields
}
func (SendConsumer) Consume ¶
func (c SendConsumer) Consume(lower, upper int64)
Click to show internal directories.
Click to hide internal directories.