Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendQueue ¶
type BackendQueue interface {
Name() string
Put([]byte) error
ReadChan() <-chan []byte // this is expected to be an *unbuffered* channel
Close() error
Delete() error
Depth() int64
Empty() error
SyncMeta()
}
BackendQueue represents the behavior for the secondary message storage system
func NewKafkaQueue ¶
func NewKafkaQueue(name string, hosts []string, exitChan chan struct{}) BackendQueue
Source Files
¶
- kafka.go
- proto.go
Click to show internal directories.
Click to hide internal directories.