kinesis_put_record {AWR.Kinesis} | R Documentation |
Write a record to a Kinesis Stream
Description
Write a record to a Kinesis Stream
Usage
kinesis_put_record(stream, region = "us-west-1", data, partitionKey)
Arguments
stream |
stream name (string) |
region |
AWS region (string) |
data |
data blog (string) |
partitionKey |
determines which shard in the stream the data record is assigned to, eg username, stock symbol etc (string) |
Value
invisible list including the shard id and sequence number
References
Examples
## Not run:
df <- mtcars[1, ]
str(kinesis_put_record('test-AWR', data = jsonlite::toJSON(df), partitionKey = row.names(df)))
## End(Not run)
[Package AWR.Kinesis version 1.7.6 Index]