Documentation ¶
Index ¶
- type DynamoDB
- type KinesisConsumer
- func (k *KinesisConsumer) Description() string
- func (k *KinesisConsumer) Gather(acc telegraf.Accumulator) error
- func (k *KinesisConsumer) Get(streamName, shardID string) (string, error)
- func (k *KinesisConsumer) SampleConfig() string
- func (k *KinesisConsumer) Set(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 { Region string `toml:"region"` AccessKey string `toml:"access_key"` SecretKey string `toml:"secret_key"` RoleARN string `toml:"role_arn"` Profile string `toml:"profile"` Filename string `toml:"shared_credential_file"` Token string `toml:"token"` EndpointURL string `toml:"endpoint_url"` StreamName string `toml:"streamname"` ShardIteratorType string `toml:"shard_iterator_type"` DynamoDB *DynamoDB `toml:"checkpoint_dynamodb"` MaxUndeliveredMessages int `toml:"max_undelivered_messages"` // contains filtered or unexported fields }
func (*KinesisConsumer) Description ¶
func (k *KinesisConsumer) Description() string
func (*KinesisConsumer) Gather ¶
func (k *KinesisConsumer) Gather(acc telegraf.Accumulator) error
func (*KinesisConsumer) Get ¶
func (k *KinesisConsumer) Get(streamName, shardID string) (string, error)
Get wraps the checkpoint's Get function (called by consumer library)
func (*KinesisConsumer) SampleConfig ¶
func (k *KinesisConsumer) SampleConfig() string
func (*KinesisConsumer) Set ¶
func (k *KinesisConsumer) Set(streamName, shardID, sequenceNumber string) error
Set wraps the checkpoint's Set 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.