Dumps periodically (each 5 seconds) records from all shards of the specified AWS Kinesis Stream. Maybe usefully for monitoring and/or debugging your streams.
Installation:
npm i # or yarn
All you need to do is to define StreamName in the config.js.
To run it just execute node index.js.
node index.js
You can pipe result into bunyan for better visual representation.
node index.js | node_modules/.bin/bunyan
Or even better if you familiar with jq
tool pipe it
there and enjoy quering JSON output like a boss.
node index.js | jq "."