Put Record and Read At Sequence
A 3-step recipe with Amazon Kinesis. We can help you get access.
Recipe · 3 steps
Put Record and Read At Sequence
with Amazon Kinesis
Put a single record, then read it back at its exact sequence number.
- Write a single record and capture the shard id and sequence number it was assigned.
- Obtain an AT_SEQUENCE_NUMBER iterator anchored exactly to the sequence number of the record just written.
- Read from the anchored iterator, returning the record at and after the requested sequence number.
What you'll need to have ready
- streamName: The name of the Kinesis data stream.
- data: The Base64-encoded data blob to write.
- partitionKey: The partition key used to assign the record to a shard.
For your developer
Arazzo workflow amazon-kinesis:put-record-and-read-at-sequence, 3 operations: PutRecord → GetShardIterator → GetRecords. Specs on APIs.io.