Documentation ¶
Index ¶
- type DynamoDB
- type KinesisConsumer
- func (k *KinesisConsumer) Gather(acc telegraf.Accumulator) error
- func (k *KinesisConsumer) GetCheckpoint(streamName, shardID string) (string, error)
- func (k *KinesisConsumer) Init() error
- func (*KinesisConsumer) SampleConfig() string
- func (k *KinesisConsumer) SetCheckpoint(streamName, shardID, sequenceNumber string) error
- func (k *KinesisConsumer) SetParser(parser parsers.Parser)
- func (k *KinesisConsumer) Start(ac telegraf.Accumulator) error
- func (k *KinesisConsumer) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KinesisConsumer ¶
type KinesisConsumer struct { StreamName string `toml:"streamname"` ShardIteratorType string `toml:"shard_iterator_type"` DynamoDB *DynamoDB `toml:"checkpoint_dynamodb"` MaxUndeliveredMessages int `toml:"max_undelivered_messages"` ContentEncoding string `toml:"content_encoding"` Log telegraf.Logger internalaws.CredentialConfig // contains filtered or unexported fields }
func (*KinesisConsumer) Gather ¶
func (k *KinesisConsumer) Gather(acc telegraf.Accumulator) error
func (*KinesisConsumer) GetCheckpoint ¶ added in v1.20.3
func (k *KinesisConsumer) GetCheckpoint(streamName, shardID string) (string, error)
Get wraps the checkpoint's GetCheckpoint function (called by consumer library)
func (*KinesisConsumer) Init ¶ added in v1.18.3
func (k *KinesisConsumer) Init() error
func (*KinesisConsumer) SampleConfig ¶
func (*KinesisConsumer) SampleConfig() string
func (*KinesisConsumer) SetCheckpoint ¶ added in v1.20.3
func (k *KinesisConsumer) SetCheckpoint(streamName, shardID, sequenceNumber string) error
Set wraps the checkpoint's SetCheckpoint function (called by consumer library)
func (*KinesisConsumer) SetParser ¶
func (k *KinesisConsumer) SetParser(parser parsers.Parser)
func (*KinesisConsumer) Start ¶
func (k *KinesisConsumer) Start(ac telegraf.Accumulator) error
func (*KinesisConsumer) Stop ¶
func (k *KinesisConsumer) Stop()
Click to show internal directories.
Click to hide internal directories.