Why does the Kinesis Firehose output "Throttling error encountered when calling Kinesis".


I use a Kinesis Data Stream connected to a Kinesis Firehose (Delivery stream). Some data failed to write a below message.

Throttling error encountered when calling Kinesis. This can be due to other applications calling the same APIs as the Firehose delivery stream, or because you have created too many Firehose delivery streams with the same Kinesis stream as the source.

I never used ether multiple data streams or multiple firehoses. Why did this message output?

asked 2 years ago4366 views
3 Answers

How much data are you trying to move through the data stream to the firehose to S3 (per second)?

Kinesis Data Stream size, write, etc limits (and how to increase shards) is linked > here < Hopefully it's something straightforward like capacity, and can be resolved with an extra shard.

Troubleshooting on the Firehose service is > here < I'd recommend looking at the data freshness metric section - that talks about throttling.

answered 2 years ago

Thank you for your answer. Your answer seems to be correct.
My Kinesis Data stream reported the throttling issue on reads. And this warning was not important because Kinesis Firehose could retry. After a short wait, the data was correctly recieved.

answered 2 years ago

Hi there, the issue occured might due to you have multiple consumers for the Kinesis data stream, for the limitation, the Kinesis Data Fireshose use GetRecords API to retrieve data from data stream, for GetRecords API, it has 5 TPS for hard limit, which means you cannot invoke the API 5 times per second.

If the issue persist, you could try to do the following methods to optimize:

  1. recude the consumer count
  2. try to slow down the polling rate for other consumers (since you cannot control the pulling rate for Firehose)
  3. enable Enhanced fanout for your other consumers
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions