Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
Stream implementation of Streamer interface for the Kafka driver
func MustNewStream ¶
type Subscriber ¶
type Subscriber struct {
subscriber.Base
// contains filtered or unexported fields
}
Subscriber for kafka
func NewSubscriber ¶
func NewSubscriber(brokers []string, group string, topics []string, configArgs ...*cluster.Config) (*Subscriber, error)
NewSubscriber connection to kafka "group" from list of topics
func (*Subscriber) SetLogger ¶
func (s *Subscriber) SetLogger(logger loggerInterface)
SetLogger interface
Click to show internal directories.
Click to hide internal directories.