Menu
Gaming Analytics Pipeline
Gaming Analytics Pipeline

Appendix A:Using the Data Generator

Use the following commands to generate sample data.

To see command line help:

python <root>/data-generator/publish_data.py --help

To publish random sample data to an Amazon Kinesis stream (TelemetryStream) in the US East (N. Virginia) Region:

python <root>/data-generator/publish_data.py --region us-east-1 --stream_name TelemetryStream

To publish data from an existing file to an Amazon Kinesis stream (TelemetryStream) in the US East (N. Virginia) Region:

python <root>/data-generator/publish_data.py --region us-east-1 --stream_name TelemetryStream -i <root>/data-generator/heatmap-sample-data.txt