2 Answers
0
Hi.
Is it printed if it is printed once before entering the while block?
This implementation does not seem to log the first shard iterator.
0
Why don't you print out response (for debugging purposes)? That way you can see if hasmoreshards is true or not. Also, amazon recommends a different api now in their documentation. It says this at the top: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_DescribeStream.html
response = kinesis_client.describe_stream(StreamName=my_stream_name)
answered 4 months ago
Relevant questions
Kinesis data stream - data transfer charges for on-premises consumer/producer
Accepted Answerasked 4 years agoTransferring data from AWS Kinesis data streams to AWS Redshift using AWS Glue
asked a month agoWhy Records: [] is empty when i consume data from kinesis stream by python script?
asked 4 months agoCan't decrypt Aurora MySQL Kinesis activity stream. (error:InvalidCiphertextException)
asked 5 months agoHow to set the starting position for a Kinesis Delivery Stream
asked 18 days agoKinesis Transformation Buffering from Data Stream
Accepted Answerasked 3 months agoKinesis data stream iterator age spikes
asked 14 days agoHow can I consume metadata for a KVS stream using Python?
asked 9 days agoMultiple Kinesis Data Analytics apps to use the same Kinesis firehose delivery stream as source
Accepted Answerasked 2 years agoUsing AWS Lambda to run Python script, how can I save data?
Accepted Answerasked 3 years ago