Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NSQConsumer ¶
type NSQConsumer struct {
Server string
Nsqd []string
Nsqlookupd []string
Topic string
Channel string
MaxInFlight int
// contains filtered or unexported fields
}
NSQConsumer represents the configuration of the plugin
func (*NSQConsumer) Description ¶
func (n *NSQConsumer) Description() string
Description prints description string
func (*NSQConsumer) Gather ¶
func (n *NSQConsumer) Gather(acc telegraf.Accumulator) error
Gather is a noop
func (*NSQConsumer) SampleConfig ¶
func (n *NSQConsumer) SampleConfig() string
SampleConfig returns config values for generating a sample configuration file
func (*NSQConsumer) SetParser ¶
func (n *NSQConsumer) SetParser(parser parsers.Parser)
SetParser takes the data_format from the config and finds the right parser for that format
func (*NSQConsumer) Start ¶
func (n *NSQConsumer) Start(acc telegraf.Accumulator) error
Start pulls data from nsq
Click to show internal directories.
Click to hide internal directories.