Documentation
¶
Index ¶
- type PartitionedQueue
- func (p *PartitionedQueue) Ack(lastOffset *event.Offset)
- func (p *PartitionedQueue) Close() error
- func (p *PartitionedQueue) DefaultConfig() string
- func (p *PartitionedQueue) Dequeue(partition int) (*api.SequenceEvent, error)
- func (p *PartitionedQueue) Description() string
- func (p *PartitionedQueue) Enqueue(e *v1.SniffData) error
- func (p *PartitionedQueue) Initialize() error
- func (p *PartitionedQueue) Name() string
- func (p *PartitionedQueue) ShowName() string
- func (p *PartitionedQueue) TotalPartitionCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartitionedQueue ¶
type PartitionedQueue struct {
config.CommonFields
Partition int `mapstructure:"partition"` // The total partition count.
// contains filtered or unexported fields
}
func NewPartitionQueue ¶
func NewPartitionQueue(c plugin.Config) *PartitionedQueue
func (*PartitionedQueue) Ack ¶
func (p *PartitionedQueue) Ack(lastOffset *event.Offset)
func (*PartitionedQueue) Close ¶
func (p *PartitionedQueue) Close() error
func (*PartitionedQueue) DefaultConfig ¶
func (p *PartitionedQueue) DefaultConfig() string
func (*PartitionedQueue) Dequeue ¶
func (p *PartitionedQueue) Dequeue(partition int) (*api.SequenceEvent, error)
func (*PartitionedQueue) Description ¶
func (p *PartitionedQueue) Description() string
func (*PartitionedQueue) Initialize ¶
func (p *PartitionedQueue) Initialize() error
func (*PartitionedQueue) Name ¶
func (p *PartitionedQueue) Name() string
func (*PartitionedQueue) ShowName ¶
func (p *PartitionedQueue) ShowName() string
func (*PartitionedQueue) TotalPartitionCount ¶
func (p *PartitionedQueue) TotalPartitionCount() int
Click to show internal directories.
Click to hide internal directories.