Skip to content

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 ​

bash
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-stream

With Lambda transformation, add to --extended-s3-destination-configuration:

json
"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) or IntervalInSeconds (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 Ok are delivered. Dropped and ProcessingFailed records 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.
  • DeleteDeliveryStream ignores AllowForceDelete.
  • 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 ​

MetricValue
PARITY entries audited12 (12 ok)
Feature families2 (2 ok)
Known gapsnone
Structural gaps (can't be emulated)4
Deferred items0
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
OperationWireErrorsStatePersist
CreateDeliveryStreamokokokok
DeleteDeliveryStreamokokokok
DescribeDeliveryStreamokokokok
ListDeliveryStreamsokokokok
PutRecordokokokok
PutRecordBatchokokokok
ListTagsForDeliveryStreamokokokok
TagDeliveryStreamokokokok
UntagDeliveryStreamokokokok
UpdateDestinationokokokok
StartDeliveryStreamEncryptionokokokok
StopDeliveryStreamEncryptionokokokok

Audited Feature Families ​

Feature FamilyStatus
destination_deliveryok
kinesis_sourceok

Released under the MIT License.