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 `toml:"server" deprecated:"1.5.0;1.35.0;use 'nsqd' instead"` Nsqd []string `toml:"nsqd"` Nsqlookupd []string `toml:"nsqlookupd"` Topic string `toml:"topic"` Channel string `toml:"channel"` MaxInFlight int `toml:"max_in_flight"` MaxUndeliveredMessages int `toml:"max_undelivered_messages"` Log telegraf.Logger // contains filtered or unexported fields }
NSQConsumer represents the configuration of the plugin
func (*NSQConsumer) Gather ¶
func (n *NSQConsumer) Gather(_ telegraf.Accumulator) error
Gather is a noop
func (*NSQConsumer) Init ¶ added in v1.32.1
func (n *NSQConsumer) Init() error
func (*NSQConsumer) SampleConfig ¶
func (*NSQConsumer) SampleConfig() string
func (*NSQConsumer) SetParser ¶
func (n *NSQConsumer) SetParser(parser telegraf.Parser)
SetParser takes the data_format from the config and finds the right parser for that format
func (*NSQConsumer) Start ¶
func (n *NSQConsumer) Start(ac telegraf.Accumulator) error
Start pulls data from nsq
Click to show internal directories.
Click to hide internal directories.