Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KinesisMessage ¶
type KinesisMessage struct {
LogEvents []interface{} `json:"logEvents"`
}
type MessageReader ¶
type MessageReader struct {
// contains filtered or unexported fields
}
MessageReader is a log source that reads from kinesis shard.
func (*MessageReader) MessageRead ¶
MessageRead implements the LogSourcer interface
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher watches for shards being added
func (*Watcher) ReadTarget ¶
func (w *Watcher) ReadTarget(ctx context.Context, shardId string, fromStart bool) (sources.MessageReader, error)
ReadTarget creates a new log source from a kinesis shard
Click to show internal directories.
Click to hide internal directories.