Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // we may use a fixed interval METRIC_FETCH_INTERVAL_SECOND = 10 META_UPDATE_INTERVAL_SECOND = 60 )
Functions ¶
This section is empty.
Types ¶
type BrokerTopicRequest ¶
type ConsumerFullOffset ¶
type ConsumerOffset ¶
type KafkaClient ¶
type KafkaClient struct {
// contains filtered or unexported fields
}
func NewKafkaClient ¶
func NewKafkaClient(cfg *config.Config, cluster string) (*KafkaClient, error)
func (*KafkaClient) MergeMaps ¶
func (client *KafkaClient) MergeMaps(topicOffsetMap map[string]map[int32]int64)
MergeMaps merge the offset of the topic
func (*KafkaClient) RefreshMetaData ¶
func (client *KafkaClient) RefreshMetaData()
func (*KafkaClient) Start ¶
func (client *KafkaClient) Start()
type TopicPartitionOffset ¶
Click to show internal directories.
Click to hide internal directories.