Amazon Kinesis Data Streams
Create data streams, put test records and read them shard by shard, to test producers and the Lambda functions that consume them.
Features
Data streams
- List streams with status, capacity mode and open shards; find by name
- Create data stream: on-demand or provisioned capacity (number of shards)
- Delete one or several streams; the dialog warns when a stream has Lambda triggers
- Stack: X link to CloudFormation when the stream was created by a stack
Data viewer
- Get records from a shard starting at Trim horizon, Latest or At timestamp, then Next records to page on
- Records table with arrival time, partition key, sequence number and a data preview
- Open a record to see its full data (JSON indented) and details
- Records sent by CloudWatch Logs subscription filters are decompressed for reading
- Put record with a partition key and data; the dialog stays open to send more
Configuration
- ARN, status, capacity mode, data retention, encryption (with a link to the KMS key), maximum record size, creation date
- Shards table: shard ID, parent shard, open or closed
- Connect card with Node.js and Python samples that put a record and read it back
Lambda triggers
- List the functions that read the stream, with batch size, starting position and state
- Add trigger: function, starting position, batch size, enabled or not
- Triggers pointing at deleted functions are flagged, with Remove broken triggers
Typical workflow
- On Data streams, choose Create data stream and keep On-demand capacity.
- On the stream's Lambda triggers tab, choose Add trigger and pick your consumer function.
- Choose Put record, enter a partition key and a JSON body, and send a few records.
- On the Data viewer tab, pick a shard and choose Get records to see what arrived.
Works with
- AWS Lambda: triggers run functions when records arrive
- Amazon CloudWatch Logs: subscription filters send log events to a stream
- AWS KMS: stream encryption uses a KMS key
- AWS CloudFormation: streams created by a stack link to it
Limitations
- Floci accepts stream names AWS rejects; the create form checks the AWS rules.
- Floci keeps the Lambda triggers of a deleted stream: delete them in Lambda › Triggers, where they show as "(not found)".
- EventBridge rules and schedules accept a Kinesis target and report success, but Floci delivers nothing to the stream; the console doesn't offer Kinesis as a target.