kinesis_get_records | R Documentation |
Get record from a Kinesis Stream
kinesis_get_records(
stream,
region = "us-west-1",
limit = 25,
shard_id,
iterator_type = c("TRIM_HORIZON", "LATEST", "AT_SEQUENCE_NUMBER",
"AFTER_SEQUENCE_NUMBER", "AT_TIMESTAMP"),
start_sequence_number,
start_timestamp
)
stream |
stream name (string) |
region |
AWS region (string) |
limit |
number of records to fetch |
shard_id |
optional shard id - will pick a random active shard if left empty |
iterator_type |
shard iterator type |
start_sequence_number |
for |
start_timestamp |
for |
character vector that you might want to post-process eg with jsonlite::stream_in
Use this no more than getting sample data from a stream - it's not intended for prod usage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.