Skip to main content
Version: Preview

Kinesis

Experimental
Creates:
Assets

Configure in the UI

This plugin can be configured directly in the Marmot UI with a step-by-step wizard.

View Guide

The Kinesis plugin discovers Amazon Kinesis Data Streams across your AWS accounts. Each stream becomes a Stream asset carrying its capacity mode, retention, shard and consumer counts, encryption settings and tags, with a data preview that reads the oldest retained records from the first open shard.

Required Permissions

GetShardIterator and GetRecords are only needed for the data preview. ListShards, ListStreamConsumers and ListTagsForStream can be left out when include_shards, include_consumers or tags_to_metadata are switched off; a denied call logs a warning and the stream is still catalogued.

AWS Configuration

See AWS Configuration for the supported AWS configuration options.

Example Configuration


credentials:
region: "us-east-1"
id: "<aws-secret-id>"
secret: "<aws-secret-key>"
include_consumers: true
include_shards: true
tags:
- "kinesis"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
credentialsAWSCredentialsfalseAWS credentials configuration
external_links[]ExternalLinkfalseExternal links to show on all assets
filterFilterfalseFilter discovered assets by name (regex)
include_consumersboolfalseWhether to list the enhanced fan-out consumers registered on each stream
include_shardsboolfalseWhether to list shards to count total and open shards per stream
include_tags[]stringfalseList of AWS tags to include as metadata. By default, all tags are included.
tagsTagsConfigfalseTags to apply to discovered assets
tags_to_metadataboolfalseConvert AWS tags to Marmot metadata

include_consumers, include_shards and tags_to_metadata default to true.

Available Metadata

The following metadata fields are available:

FieldTypeDescription
arnstringStream ARN
arrival_timestringApproximate time the record reached the stream (RFC 3339)
consumer_countintNumber of registered enhanced fan-out consumers
consumers[]stringNames of the registered enhanced fan-out consumers
created_atstringStream creation time (RFC 3339)
datastringRecord payload as text, or base64 when it is not valid UTF-8
encryption_typestringServer-side encryption type (NONE or KMS)
enhanced_monitoring[]stringShard-level CloudWatch metrics that are enabled
kms_key_idstringKMS key used for server-side encryption
open_shard_countintNumber of shards still accepting writes
partition_keystringPartition key the producer wrote the record with
regionstringAWS region the stream lives in
retention_hoursintRecord retention period in hours
sequence_numberstringRecord sequence number within its shard
shard_countintTotal number of shards, closed ones included
statusstringStream status (CREATING, DELETING, ACTIVE, UPDATING)
stream_modestringCapacity mode (PROVISIONED or ON_DEMAND)
urlstringLink to the stream in the AWS console