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) PutMessages(prefix, topic string, keys map[string]int) map[string][]*sarama.ProducerMessage
- func (kh *T) ResetOffsets(group, topic string)
- func (kh *T) SetOffsetValues(group, topic string, offsetValues []int64)
- func (kh *T) SetOffsets(group, topic string, offsets []offsetmgr.Offset)
- func (kh *T) ZKConn() *zk.Conn
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 ¶
func (*T) SetOffsetValues ¶ added in v0.15.0
func (*T) SetOffsets ¶ added in v0.13.0
Click to show internal directories.
Click to hide internal directories.