Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DividePartitions ¶
DividePartitions - splits the number of partitions in to buckets numbering the splitBy
Types ¶
type Client ¶
type Client struct { Hosts []string Log logging.Logger `inject:""` // contains filtered or unexported fields }
func (*Client) NewConsumer ¶
func (*Client) SendBytesAsync ¶
type Consumer ¶
type Consumer struct { ClientName string StartingOffsets map[int32]int64 Log logging.Logger `inject:""` Topic string // contains filtered or unexported fields }
func NewConsumer ¶
func (*Consumer) Events ¶
func (c *Consumer) Events() <-chan *ConsumerEvent
type ConsumerChannel ¶
type ConsumerChannel interface { Events() <-chan *ConsumerEvent Close() error }
type ConsumerEvent ¶
Click to show internal directories.
Click to hide internal directories.