Skip to content

Kinesis ​

Parity grade: A · SDK aws-sdk-go-v2/service/kinesis@v1.56.4 · last audited 2026-10-11 (49cff86c4)

Category: Analytics · View PARITY.md on GitHub · All Services

In-memory Kinesis Data Streams with shard split and merge, enhanced fan-out consumers, retention and encryption settings.

Quick start ​

bash
export AWS_ENDPOINT_URL=http://localhost:8000

aws kinesis create-stream --stream-name my-stream --shard-count 2
aws kinesis put-record --stream-name my-stream --data "SGVsbG8gV29ybGQ=" --partition-key partition-1

IT=$(aws kinesis get-shard-iterator --stream-name my-stream \
    --shard-id shardId-000000000000 --shard-iterator-type TRIM_HORIZON \
    --query ShardIterator --output text)
aws kinesis get-records --shard-iterator "$IT"
aws kinesis list-shards --stream-name my-stream

Supported operations ​

AreaOperations
StreamsCreateStream, DeleteStream, DescribeStream, DescribeStreamSummary, ListStreams, UpdateStreamMode, UpdateStreamWarmThroughput, UpdateMaxRecordSize
RecordsPutRecord, PutRecords, GetShardIterator, GetRecords
ShardsListShards, SplitShard, MergeShards, UpdateShardCount
ConsumersRegisterStreamConsumer, DescribeStreamConsumer, ListStreamConsumers, DeregisterStreamConsumer, SubscribeToShard
Retention and encryptionIncreaseStreamRetentionPeriod, DecreaseStreamRetentionPeriod, StartStreamEncryption, StopStreamEncryption
Monitoring and limitsEnableEnhancedMonitoring, DisableEnhancedMonitoring, DescribeLimits, DescribeAccountSettings, UpdateAccountSettings
Resource policiesPutResourcePolicy, GetResourcePolicy, DeleteResourcePolicy
TagsAddTagsToStream, RemoveTagsFromStream, ListTagsForStream, TagResource, UntagResource, ListTagsForResource
ChannelsCreateChannel, DescribeChannel, ListChannels, UpdateChannel, DeleteChannel

A janitor evicts records older than the stream's retention period.

Configuration ​

FlagEnvDefaultPurpose
--kinesis-latencyKINESIS_RESPONSE_LATENCY0sArtificial delay before each API response
--kinesis-shard-limitKINESIS_ACCOUNT_SHARD_LIMIT0Open shard limit. 0 is the AWS default of 500, negative is unlimited
--kinesis-on-demand-stream-count-limitKINESIS_ACCOUNT_ON_DEMAND_STREAM_LIMIT0On-demand stream limit. 0 is the AWS default of 10, negative is unlimited
noneKINESIS_JANITOR_INTERVAL1mJanitor tick

Differences from AWS ​

NOTE

A channel with an S3 Tables (Iceberg) destination accepts PutRecord but never buffers or flushes. Plain S3 delivery works.

  • ReadProvisionedThroughputExceeded and WriteProvisionedThroughputExceeded occur only through the FIS throughput fault. There is no per-shard throughput model.
  • Channel control-plane throttling (LimitExceededException) is not applied.
  • KMSAccessDeniedException on StartStreamEncryption and StopStreamEncryption is never raised: there is no KMS key-grant model.

Parity & Coverage ​

MetricValue
PARITY entries audited39 (39 ok)
Feature families9 (9 ok)
Known gapsnone
Structural gaps (can't be emulated)5
Deferred items0
Resource leaksclean

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.

  • Read/WriteProvisionedThroughputExceeded counts outside the FIS throughput fault, and SubscribeToShard.* metrics: no per-shard throughput model.
  • Channel S3Tables (Iceberg) delivery is unmodeled (no services/s3tables data-file write path): such a channel accepts PutRecord but never buffers or flushes. Plain S3 delivery is real. (gopherstack-s781r)
  • Channel control-plane 5 TPS throttle (LimitExceededException) and S3Tables PartitionSpec verification: no rate limiting and no Iceberg partitioning backend.
  • KMSAccessDeniedException (Start/StopStreamEncryption) is wire-mapped but has no trigger: no KMS key-grant model. UpdateMaxRecordSize applies synchronously (SDK docs state no UPDATING transition for it). (gopherstack-ud2, gopherstack-nbg8)
  • StreamId is 'Not Implemented. Reserved for future use.' in the SDK.

Audited Operations ​

39 audited operations
OperationWireErrorsStatePersist
IncreaseStreamRetentionPeriodfixedokokok
DecreaseStreamRetentionPeriodfixedokokok
CreateStreamfixedokfixedok
DeleteStreamfixedfixedfixedok
DescribeStreamokokokok
DescribeStreamSummaryfixedokokok
ListStreamsfixedokokok
PutRecordokokokok
PutRecordsokokokok
GetShardIteratorokokfixedn/a
GetRecordsfixedokokn/a
ListShardsfixedokokn/a
RegisterStreamConsumerfixedokokok
DescribeStreamConsumerokokokok
ListStreamConsumersfixedokokok
DeregisterStreamConsumerokokokok
SubscribeToShardfixedokfixedn/a
UpdateShardCountfixedokfixedok
EnableEnhancedMonitoringfixedokokok
DisableEnhancedMonitoringfixedokokok
DescribeLimitsfixedokokn/a
DescribeAccountSettingsfixedokokok
UpdateAccountSettingsfixedokokok
UpdateMaxRecordSizefixedokfixedok
UpdateStreamWarmThroughputfixedokfixedok
MergeShardsokokfixedok
SplitShardokokfixedok
StartStreamEncryptionokokfixedok
StopStreamEncryptionokokfixedok
DeleteResourcePolicyokokokn/a
GetResourcePolicyokokokn/a
PutResourcePolicyokokokn/a
ListTagsForResourceokokokok
AddTagsToStreamfixedokokok
RemoveTagsFromStreamfixedokokok
ListTagsForStreamfixedokokok
TagResourceokokokok
UntagResourceokokokok
UpdateStreamModefixedokfixedok

Audited Feature Families ​

Feature FamilyStatus
hash_key_routingok
sequence_numbersok
reshard_lineageok
error_codesok
CreateChannel—
DeleteChannel—
DescribeChannel—
ListChannels—
UpdateChannel—

Released under the MIT License.