- Samir Jha ([email protected])
- Aditya Bhardwaj ([email protected])
- Gautam Verma ([email protected])
- textblob
- boto3
- praw
- TwitterAPI
Please install these dependencies on the machine running the consumer and producer code.
To run producer scripts, please run the following files:
To run the consumer scripts, please run the following files on two nodes:
To run the Lambda Functions, please follow the following procedure:
- Hourly Lambda:
- Create Lambda Canary Function on AWS Lambda
- Add CloudWatch Event with time = 1 hour to the Lambda in the Configuration.
- Add code from the Hourly Lambda File to the lambda function.
- Update the environment variable for AWS Key and Secret.
- Enable the CloudWatch Trigger.
- Minute Lambda:
- Create Lambda Canary Function on AWS Lambda
- Add CloudWatch Event with time = 1 minute to the Lambda in the Configuration.
- Add code from the Minute Lambda File to the lambda function.
- Update the environment variable for AWS Key and Secret.
- Enable the CloudWatch Trigger.
- 5 Minute Lambda:
- Create Lambda Canary Function on AWS Lambda
- Add CloudWatch Event with time = 5 minute to the Lambda in the Configuration.
- Add code from the 5 Minute Lambda File to the lambda function.
- Update the environment variable for AWS Key and Secret.
- Enable the CloudWatch Trigger.