Documentation ¶
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
}
Broker implements the broker interface for Kafka.
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
Peer implements the peer interface for Kafka.
func (*Peer) Done ¶
func (k *Peer) Done()
Done signals to the peer that message publishing has completed.
func (*Peer) Recv ¶
Recv returns a single message consumed by the peer. Subscribe must be called before this. It returns an error if the receive failed.
Click to show internal directories.
Click to hide internal directories.