kinesis-stream-processor

Implement AWS Kinesis producers and consumers with Python and Node.js.

19|5|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Nir-Bhay/markups --skill kinesis-stream-processor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kinesis-stream-processor
Source: https://github.com/Nir-Bhay/markups/tree/main/.agents/skills/kinesis-stream-processor
Command: npx skills add https://github.com/Nir-Bhay/markups --skill kinesis-stream-processor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complexity of building and managing real-time data streaming applications using AWS Kinesis, enabling efficient data processing and analysis.

Core Features & Use Cases

  • Producer Implementation: Provides robust Python and Node.js examples for sending data to Kinesis streams with batching and error handling.
  • Consumer Patterns: Demonstrates how to consume data using AWS Lambda, KCL-style (Python), and Enhanced Fan-Out for various real-time processing needs.
  • Infrastructure as Code: Includes CloudFormation and Terraform examples for provisioning Kinesis streams and related resources.
  • Monitoring: Offers guidance on key CloudWatch metrics and provides a Python script for retrieving stream metrics.
  • Use Case: Process clickstream data from a website in real-time to personalize user experiences or detect fraudulent activity.

Quick Start

Use the kinesis-stream-processor skill to create a new Kinesis Data Stream named 'my-data-stream' with 2 shards and a retention period of 24 hours using CloudFormation.

Frequently Asked Questions about kinesis-stream-processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consume AWS Kinesis Data Streams using Lambda and Python?

You can consume AWS Kinesis Data Streams using Lambda by implementing consumer patterns with Python, including KCL-style consumption and Enhanced Fan-Out for efficient real-time data processing. The Skill provides Python and Node.js code examples for batching and error handling.

What is the best way to provision Kinesis streams with CloudFormation or Terraform?

The best way to provision Kinesis streams is using Infrastructure as Code templates. This Skill includes CloudFormation and Terraform examples to define streams, configure shard counts, and set retention periods for automated resource provisioning.

How does enhanced fan-out work for Kinesis consumers?

Enhanced fan-out for Kinesis consumers delivers dedicated throughput to each consumer, allowing multiple applications to read from the same stream in parallel without hitting shared retrieval limits. This Skill demonstrates how to implement this pattern using Python and Node.js.

Can I monitor Kinesis stream metrics using CloudWatch?

Yes, you can monitor Kinesis stream metrics using CloudWatch. This Skill offers guidance on key CloudWatch metrics to track and provides a Python script for retrieving stream metrics to ensure healthy real-time data processing operations.

How do I handle batching and errors when sending data to Kinesis?

To handle batching and errors when sending data to Kinesis, you implement robust producer patterns. This Skill provides Python and Node.js examples for sending data with proper batching configurations and error handling logic for resilient streaming.

Does this Skill cover Kinesis Firehose and Analytics or just Data Streams?

This Skill covers Kinesis Data Streams, Firehose, and Analytics. It provides comprehensive expertise across the entire Kinesis ecosystem, including producer and consumer patterns, infrastructure as code, and monitoring for real-time data streaming.