Documentation ¶
Overview ¶
Package membroker provides an in-memory publisher.Broker implementation for use with the publisher pipeline. The broker implementation is registered as broker type "mem".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func NewBroker ¶
NewBroker creates a new in-memory broker holding up to sz number of events. If waitOnClose is set to true, the broker will block on Close, until all internal workers handling incoming messages and ACKs have been shut down.
func (*Broker) BufferConfig ¶
func (b *Broker) BufferConfig() broker.BufferConfig
Click to show internal directories.
Click to hide internal directories.