Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OffMonitor ¶
type OffMonitor struct {
// contains filtered or unexported fields
}
func GetOffMonitor ¶
func GetOffMonitor(conf OffMonitorConf) OffMonitor
func (*OffMonitor) IngestSrcSkMetric ¶
func (monitor *OffMonitor) IngestSrcSkMetric(prefixName string, msg *sarama.ConsumerMessage)
func (*OffMonitor) StartProducerConsumerMonitor ¶
func (monitor *OffMonitor) StartProducerConsumerMonitor(brokerList []string, topic string, cgName string, consumer *consumergroup.ConsumerGroup, ctx context.Context)
type OffMonitorConf ¶
type OffMonitorHandler ¶
type OffMonitorHandler interface { StartProducerConsumerMonitor(brokerList []string, topic string, cgName string, consumer *consumergroup.ConsumerGroup, ctx context.Context) IngestSrcSkMetric(prefixName string, msg *sarama.ConsumerMessage) }
Click to show internal directories.
Click to hide internal directories.