Question on Firehose and "near"-realtime

I need some clarification on this.

I know that Kinesis Firehose is considered a “near real-time” ingestion tool, since you’re relying on it to buffer data and you are limited to a buffer interval of 60 seconds minimum.

But if I set a buffer size limit and send Firehose so much data that it triggers the buffer size limit in every second, will Firehose buffer the data up until the 60 seconds have passed before passing it on (e.g., to S3)? Or will it do it as soon as the buffer size limit I set has been reached?

Also, I know you can use Kinesis Data Analytics to do stream processing on the Firehose delivery stream, e.g. doing a sum of all my customer orders from the UK in an e-commerce platform and then using that for a dashboard, how does that work? Will KDA also have a delay of 60 seconds? Or will it be able to aggregate data as soon as it has been inserted into the Firehose stream (and before it has been sent off to S3).

I’m asking because I’m planning to do the Data Analytics certification and I know that “near real-time” is like a flag for Firehose, but in the sample questions there was a case with creating a real-time dashboard using Kinesis Firehose and Data Analytics.


Related discussions: