Documentation
¶
Index ¶
- type T
- func (kh *T) Close()
- func (kh *T) GetCommittedOffsets(group, topic string) []offsetmgr.Offset
- func (kh *T) GetMessages(topic string, begin, end []int64) [][]string
- func (kh *T) GetNewestOffsets(topic string) []int64
- func (kh *T) GetOldestOffsets(topic string) []int64
- func (kh *T) KafkaClt() sarama.Client
- func (kh *T) KazooClt() *kazoo.Kazoo
- func (kh *T) PutMessages(prefix, topic string, keys map[string]int) map[string][]*sarama.ProducerMessage
- func (kh *T) ResetOffsets(group, topic string)
- func (kh *T) SetOffsets(group, topic string, offsets []offsetmgr.Offset)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (*T) GetCommittedOffsets ¶ added in v0.13.0
func (*T) GetNewestOffsets ¶
func (*T) GetOldestOffsets ¶
func (*T) PutMessages ¶
func (*T) ResetOffsets ¶
Click to show internal directories.
Click to hide internal directories.