{"id":20743684,"url":"https://github.com/vsouza/spark-kinesis-redshift","last_synced_at":"2025-04-24T05:43:20.501Z","repository":{"id":65983483,"uuid":"66573032","full_name":"vsouza/spark-kinesis-redshift","owner":"vsouza","description":"Example project for consuming AWS Kinesis streamming and save data on Amazon Redshift using Apache Spark","archived":false,"fork":false,"pushed_at":"2018-05-22T18:45:02.000Z","size":92,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T05:43:15.249Z","etag":null,"topics":["aws","aws-kinesis","aws-kinesis-stream","aws-redshift","etl","etl-pipeline","python","shell","spark","spark-streaming"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsouza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-25T16:02:40.000Z","updated_at":"2024-01-07T14:45:46.000Z","dependencies_parsed_at":"2023-02-19T18:30:38.651Z","dependency_job_id":null,"html_url":"https://github.com/vsouza/spark-kinesis-redshift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsouza%2Fspark-kinesis-redshift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsouza%2Fspark-kinesis-redshift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsouza%2Fspark-kinesis-redshift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsouza%2Fspark-kinesis-redshift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsouza","download_url":"https://codeload.github.com/vsouza/spark-kinesis-redshift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573299,"owners_count":21452342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-kinesis","aws-kinesis-stream","aws-redshift","etl","etl-pipeline","python","shell","spark","spark-streaming"],"created_at":"2024-11-17T07:12:28.759Z","updated_at":"2025-04-24T05:43:20.485Z","avatar_url":"https://github.com/vsouza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apache Spark Kinesis Consumer\n\n\u003e Example project for consuming AWS Kinesis streamming and save data on Amazon Redshift using Apache Spark\n\nCode from: [Processing IoT realtime data - Medium](https://medium.com/@iamvsouza/processing-grandparents-realtime-data-d6b8c99e0b43)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"header.jpg\" /\u003e\n\u003c/p\u003e\n\n\n## Usage example\n\nYou need to set Amazon Credentials on your enviroment.\n\n```shell\nexport AWS_ACCESS_KEY_ID=\"\"\nexport AWS_ACCESS_KEY=\"\"\nexport AWS_SECRET_ACCESS_KEY=\"\"\nexport AWS_SECRET_KEY=\"\"\n```\n\n## Dependencies\n\nMust be included on `--packages` flag.\n\n`org.apache.spark:spark-streaming-kinesis-asl_2.10:1.6.1`\n\n## Setup\n\n__How run Kinesis locally?__\n\nA few months ago I created a Docker image with Kinesalite (amazin project to simulate Amazon Kinesis), you can use\nthis image, or run [Kinesalite]() directly.\n\n`docker run -d -p 4567:4567 vsouza/kinesis-local -p 4567 --createStreaMs 5`\n\ncheck the [project](https://github.com/vsouza/docker-Kinesis-local)\n\n__I should have DynamoDB too?__\n\nYes, :cry: . The AWS SDK Kinesis module make checkpoints of your Kinesis tunnel, and store this on DynamoDB. You don't\nneed to create tables or else, the SDK will create for you. \n\n*Remember to configure your throughput value in DynamoDB correctly*\n\n## License\n\n[MIT License](http://vsouza.mit-license.org/) © Vinicius Souza\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsouza%2Fspark-kinesis-redshift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsouza%2Fspark-kinesis-redshift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsouza%2Fspark-kinesis-redshift/lists"}