Documentation ¶
Index ¶
Constants ¶
View Source
const ( Topic = "edge_topic" Group = "edge_group" StatusInit int32 = iota StatusClosed )
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
Click to show internal directories.
Click to hide internal directories.