Kinesis Data Firehose
Parity grade: A · SDK aws-sdk-go-v2/service/firehose@v1.52.3 · last audited 2026-10-09 (49cff86c4)
Category: Analytics · View PARITY.md on GitHub · All Services
In-memory Firehose with buffered delivery to S3 and other destinations, Lambda transformation and Kinesis stream sources.
Quick start
export AWS_ENDPOINT_URL=http://localhost:8000
aws firehose create-delivery-stream --delivery-stream-name my-stream \
--s3-destination-configuration '{
"RoleARN":"arn:aws:iam::000000000000:role/firehose",
"BucketARN":"arn:aws:s3:::my-bucket",
"BufferingHints":{"SizeInMBs":5,"IntervalInSeconds":60},
"CompressionFormat":"GZIP"}'
aws firehose put-record --delivery-stream-name my-stream \
--record '{"Data":"eyJrZXkiOiJ2YWx1ZSJ9"}'
aws firehose put-record-batch --delivery-stream-name my-stream \
--records '[{"Data":"eyJpZCI6MX0="},{"Data":"eyJpZCI6Mn0="}]'
aws firehose describe-delivery-stream --delivery-stream-name my-streamWith Lambda transformation, add to --extended-s3-destination-configuration:
"ProcessingConfiguration": {"Enabled": true, "Processors": [{
"Type": "Lambda",
"Parameters": [{"ParameterName": "LambdaArn", "ParameterValue": "my-transform-fn"}]}]}Supported operations
CreateDeliveryStream, DeleteDeliveryStream, DescribeDeliveryStream, ListDeliveryStreams, UpdateDestination, PutRecord, PutRecordBatch, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption, TagDeliveryStream, UntagDeliveryStream, ListTagsForDeliveryStream.
Delivery
- Records are buffered in memory and flushed to S3 when the buffer reaches
SizeInMBs(default 5) orIntervalInSeconds(default 300) elapses. - Keys are time-partitioned:
[prefix/]YYYY/MM/DD/HH/stream-name-YYYY-MM-DD-HH-MM-SS. - Compression formats:
UNCOMPRESSED,GZIP,ZIP,SNAPPY,HADOOP_SNAPPY. - Lambda transformation invokes the function synchronously per batch. Records returned
Okare delivered.DroppedandProcessingFailedrecords are not. - Destinations: S3, Extended S3, HTTP endpoint, Splunk, Redshift, Elasticsearch and OpenSearch, Iceberg and Snowflake.
- Kinesis stream sources are polled per shard.
Differences from AWS
NOTE
Iceberg and Snowflake destinations stage to S3: there is no Iceberg table writer or Snowpipe to deliver to. OpenSearch Serverless is rejected.
- MSK sources and database-source snapshot or CDC are not polled: they need a real Kafka consumer or database endpoint.
DeleteDeliveryStreamignoresAllowForceDelete.- Role authorization covers S3, S3 backup, staging, Lambda and OpenSearch/Elasticsearch domain ARNs. Glue catalog and Snowflake calls have no backend to authorize against. HTTP and Splunk authenticate with an access key or HEC token, not the role.
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 12 (12 ok) |
| Feature families | 2 (2 ok) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 4 |
| Deferred items | 0 |
| Resource leaks | "fixed this pass" |
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- MSK source polling and database-source snapshot/CDC need a real Kafka protocol consumer / a live database endpoint; staging to S3 and wire-shape round-trips are real.
- Iceberg, Snowflake and AmazonOpenSearchServerless destinations stage to S3 (or are rejected for OpenSearch Serverless): there is no Iceberg table writer/Glue commit, Snowpipe or OpenSearch-Serverless backend to deliver to.
- DeleteDeliveryStream.AllowForceDelete is not read: it only bypasses a KMS-grant-retirement failure, a failure mode this backend does not model.
- Role authorization covers S3, S3-backup, staging, Lambda and domain-ARN OpenSearch/Elasticsearch; the Glue catalog and Snowflake calls have no backend to authorize against, and HTTP/Splunk authenticate with an access key/HEC token, not the role.
Audited Operations
12 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateDeliveryStream | ok | ok | ok | ok |
DeleteDeliveryStream | ok | ok | ok | ok |
DescribeDeliveryStream | ok | ok | ok | ok |
ListDeliveryStreams | ok | ok | ok | ok |
PutRecord | ok | ok | ok | ok |
PutRecordBatch | ok | ok | ok | ok |
ListTagsForDeliveryStream | ok | ok | ok | ok |
TagDeliveryStream | ok | ok | ok | ok |
UntagDeliveryStream | ok | ok | ok | ok |
UpdateDestination | ok | ok | ok | ok |
StartDeliveryStreamEncryption | ok | ok | ok | ok |
StopDeliveryStreamEncryption | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
destination_delivery | ok |
kinesis_source | ok |
