Skip to content

Instantly share code, notes, and snippets.

@DavidDeCoding
Created July 19, 2017 14:38
Show Gist options
  • Save DavidDeCoding/dd58e1f0e440d22fe46baa0cd8cd5111 to your computer and use it in GitHub Desktop.
Save DavidDeCoding/dd58e1f0e440d22fe46baa0cd8cd5111 to your computer and use it in GitHub Desktop.
Aws Kinesis Records Viewer

The process to view records in kinesis are as follows:

  1. Get a shard iterator:
aws kinesis get-shard-iterator --shard-id shardId-000000000000 --shard-iterator-type LATEST --stream-name
  1. Run your producer using kpl or anyother library and language.

  2. Read records of the recently created shard iterator:

aws kinesis get-records --shard-iterator
  1. If could also view the payload using: Use this site https://www.base64decode.org/. And drop the payload to decode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment