DeliveryToS3.DataFreshness metrics exceed defined batch time + buffer

1

We have a Kinesis Data Firehose that have

Buffer hintsvalue
Buffer size128 MiB
Buffer interval900 seconds
Retry300 seconds

Data Freshness = Time in Buffer + Time in Retry Buffer

In my case, if the data took 1352 seconds to become available, it means: Data Freshness = 900 seconds (Buffer) + 300 seconds (Retry Buffer) + X seconds (Other processing time)

Is this possible. And if yes, Can you please specify in which cases this is possible. Also Can you elaborate how retry is happening in Firehose Stream.

asked 7 months ago338 views
1 Answer
0

Here are a few points to clarify:

Data Freshness = Time in Buffer + Time in Retry Buffer + X seconds (Other processing time)

Time in Buffer: This is the time it takes for the data to move from the producer (source) to the Firehose delivery stream.

Time in Retry Buffer: This is the time it takes for the data to be retried if there were any delivery failures. Firehose retries to deliver the data for a certain amount of time before moving it to the retry buffer.

X seconds (Other processing time): This represents any additional processing time that might occur outside the buffer and retry buffer stages. This could include transformation or enrichment of the data.

Elaborating on how retries work in Amazon Kinesis Data Firehose:

When Firehose encounters a delivery failure (for example, due to service throttling or an internal error), it automatically retries to deliver the data for a specified period. During this retry period, Firehose attempts to redeliver the data to the destination (e.g., S3, Redshift, etc.) multiple times. If the data is successfully delivered within the retry period, it doesn't enter the retry buffer. If the data still cannot be delivered successfully after all the retry attempts, it is moved to the retry buffer. Data in the retry buffer is periodically retried according to the retry settings configured for your Firehose delivery stream.

Here is the link for RetryOptions: https://docs.aws.amazon.com/firehose/latest/APIReference/API_RetryOptions.html

AWS
answered 7 months ago
profile picture
EXPERT
reviewed 24 days 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