capabilities.work

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

Put a single record, then read it back at its exact sequence number.

  1. Write a single record and capture the shard id and sequence number it was assigned.
  2. Obtain an AT_SEQUENCE_NUMBER iterator anchored exactly to the sequence number of the record just written.
  3. 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.