Last active
January 14, 2016 09:53
-
-
Save fblundun/9d245f46ee4685616072 to your computer and use it in GitHub Desktop.
Easy way to view open shards of a Kinesis stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
aws kinesis describe-stream --stream-name $1 | | |
jq '.StreamDescription.Shards | map(select(.SequenceNumberRange.EndingSequenceNumber == null))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment