Skip to content

Kinesis Data Analytics

CloudMock emulates Amazon Kinesis Data Analytics (v2), supporting application lifecycle, input/output management, snapshots, and tagging.

OperationStatusNotes
CreateApplicationSupportedCreates an analytics application
DescribeApplicationSupportedReturns application details
ListApplicationsSupportedLists all applications
DeleteApplicationSupportedDeletes an application
UpdateApplicationSupportedUpdates application configuration
StartApplicationSupportedStarts an application
StopApplicationSupportedStops an application
AddApplicationInputSupportedAdds an input to an application
AddApplicationOutputSupportedAdds an output to an application
DeleteApplicationOutputSupportedRemoves an output
CreateApplicationSnapshotSupportedCreates an application snapshot
ListApplicationSnapshotsSupportedLists application snapshots
DeleteApplicationSnapshotSupportedDeletes a snapshot
TagResourceSupportedAdds tags to a resource
UntagResourceSupportedRemoves tags from a resource
ListTagsForResourceSupportedLists tags for a resource
import { KinesisAnalyticsV2Client, CreateApplicationCommand } from '@aws-sdk/client-kinesis-analytics-v2';
const client = new KinesisAnalyticsV2Client({
endpoint: 'http://localhost:4566',
region: 'us-east-1',
credentials: { accessKeyId: 'test', secretAccessKey: 'test' },
});
await client.send(new CreateApplicationCommand({
ApplicationName: 'my-analytics-app',
RuntimeEnvironment: 'FLINK-1_15',
ServiceExecutionRole: 'arn:aws:iam::000000000000:role/analytics-role',
}));
import boto3
client = boto3.client('kinesisanalyticsv2',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
client.create_application(
ApplicationName='my-analytics-app',
RuntimeEnvironment='FLINK-1_15',
ServiceExecutionRole='arn:aws:iam::000000000000:role/analytics-role')
cloudmock.yml
services:
kinesisanalytics:
enabled: true
  • Applications do not actually process streaming data
  • Flink/SQL runtime is not provisioned
  • Application status transitions are simulated