Skip to content

MemphisMeng/Real-time-Data-Stream-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-time Data Stream Framework

Tutorial of Real-time Data Streaming Architecture Based on AWS Kinesis Firehose & AWS GLue Crawlers

ERD

Execution

  • Dependency Installation
pip install -r */requirements.txt
  • Build:
sam build -u
  • Local Testing:
sam local invoke "StreamingFunction" -e event.json --env-vars channels/variables.json
  • Deploy:
for file in channels/*.json; do
    environment=$(jq -r '.Parameters.Environment' "$file")
    data_source=$(jq -r '.Parameters.DATA_SOURCE' "$file")
    data_source_arn=$(jq -r '.Parameters.DATA_SOURCE_ARN' "$file")
    sam deploy --parameter-overrides Environment=$environment DataSource=$data_source DataSourceArn=$data_source_arn --stack-name test-stack --s3-bucket pbr-lambda-packages --confirm-changeset --no-fail-on-empty-changeset --capabilities CAPABILITY_NAMED_IAM
done

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages