Skip to content

IOT data generator : simulate iot device data, push to kafka, redis, dynamodb.

License

Notifications You must be signed in to change notification settings

kyanyoga/iot_kafka_datagen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

iot_kafka_datagen

The following App will generate sample IOT data and push to Kafka, Redis and Now AWS DynamoDB.

The data will follow a predicable pattern so that it can be used for testing.

** Using a sin wave function will vary temperature, bp and activity over time **

** added a redis output file so we can pick our desitination **

** added specific generator for person data **

** added specific generator for machine data **

Latest: May 2016

Note: You will need to install AWS Cli, Boto3 (for Python) and Most likely DynamoDB locally to Test.

Added new DynamoDB Data Generator

  1. download and install DynamoDB local (easy) -or- change end point in scripts.

[sensor_ddb.py, dgen_person_ddb.py, dgen_mach_ddb.py] to your DynamoDB end-point.

You will also need to configure AWS CLI with your keys and default region.

  1. run the ddb table build script: user$ python sensor_ddb.py [ This will build the IOT Sensor Table ].

  2. run the desired generator:

  • a) user$ python dgen_person_ddb.py [ generate person data to ddb ] - or -
  • b) user$ python dgen_mach_ddb.py [ generate machine data to ddb ]

About

IOT data generator : simulate iot device data, push to kafka, redis, dynamodb.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages