botor (version 0.2.0)

kinesis_get_records: Gets data records from a Kinesis data stream's shard

Description

Gets data records from a Kinesis data stream's shard

Usage

kinesis_get_records(shard_iterator)

Arguments

shard_iterator

the position in the shard from which you want to start sequentially reading data records, usually provided by kinesis_get_shard_iterator

Value

list of Records, NextShardIterator and MillisBehindLatest

References

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis.Client.get_records

Examples

Run this code
# NOT RUN {
botor(profile_name = 'botor-tester')
iterator <- kinesis_get_shard_iterator(stream = 'botor-tester', shard = '0')
kinesis_get_records(iterator$ShardIterator)
# }

Run the code above in your browser using DataLab