Amazon Kinesis · Arazzo Workflow
Amazon Kinesis Put Record and Read At Sequence
Version 1.0.0
Write one record, then read it back starting at its exact sequence number.
Provider
Workflows
put-record-and-read-at-sequence
Put a single record, then read it back at its exact sequence number.
Writes one record with PutRecord, gets an AT_SEQUENCE_NUMBER iterator anchored to the returned shard and sequence number, and reads the record back with GetRecords.
1
putRecord
PutRecord
Write a single record and capture the shard id and sequence number it was assigned.
2
getShardIterator
GetShardIterator
Obtain an AT_SEQUENCE_NUMBER iterator anchored exactly to the sequence number of the record just written.
3
getRecords
GetRecords
Read from the anchored iterator, returning the record at and after the requested sequence number.