Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRecordsEntry ¶
GetRecordsEntry returns the results of the last get records request
type KinesisStreamer ¶
type KinesisStreamer struct {
// contains filtered or unexported fields
}
KinesisStreamer this manages streaming data from a number of shards asynchronously
func New ¶
func New(svc kinesisiface.KinesisAPI, iterators map[string]*string, pollFreqMs int64, logger *logrus.Logger) *KinesisStreamer
New return a new configured streamer
func (*KinesisStreamer) StartGetRecords ¶
func (ks *KinesisStreamer) StartGetRecords() chan *GetRecordsEntry
StartGetRecords intiate the streaming of records using the configured iterators
Click to show internal directories.
Click to hide internal directories.