Documentation
¶
Index ¶
- type BrokerTopicRequest
- type ConsumerFullOffset
- type ConsumerOffset
- type Fetcher
- type Importer
- type KafkaClient
- func (client *KafkaClient) CombineTopicAndConsumer()
- func (client *KafkaClient) GetPartitionCount(topic string) int
- func (client *KafkaClient) MergeMaps(topicOffsetMap map[string]*TopicFullOffset)
- func (client *KafkaClient) RefreshConsumerOffset(msg *sarama.ConsumerMessage)
- func (client *KafkaClient) RefreshTopicMap()
- func (client *KafkaClient) Start()
- func (client *KafkaClient) Stop()
- type TopicFullOffset
- type TopicPartitionOffset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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) CombineTopicAndConsumer ¶
func (client *KafkaClient) CombineTopicAndConsumer()
func (*KafkaClient) GetPartitionCount ¶
func (client *KafkaClient) GetPartitionCount(topic string) int
func (*KafkaClient) MergeMaps ¶
func (client *KafkaClient) MergeMaps(topicOffsetMap map[string]*TopicFullOffset)
func (*KafkaClient) RefreshConsumerOffset ¶
func (client *KafkaClient) RefreshConsumerOffset(msg *sarama.ConsumerMessage)
func (*KafkaClient) RefreshTopicMap ¶
func (client *KafkaClient) RefreshTopicMap()
func (*KafkaClient) Start ¶
func (client *KafkaClient) Start()
func (*KafkaClient) Stop ¶
func (client *KafkaClient) Stop()
type TopicFullOffset ¶
Click to show internal directories.
Click to hide internal directories.