{"id":25578686,"url":"https://github.com/as2811-project/au-elec-data-pipeline","last_synced_at":"2026-05-08T04:41:05.624Z","repository":{"id":248790923,"uuid":"829384553","full_name":"as2811-project/AU-Elec-Data-Pipeline","owner":"as2811-project","description":"A Kafka data pipeline to fetch data from an API and store it in a Postgres database","archived":false,"fork":false,"pushed_at":"2024-08-01T23:50:21.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T20:37:49.993Z","etag":null,"topics":["aws-ec2","data-science","kafka","postgres","supabase"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/as2811-project.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-16T10:17:01.000Z","updated_at":"2024-08-01T23:50:24.000Z","dependencies_parsed_at":"2024-08-02T01:23:35.470Z","dependency_job_id":null,"html_url":"https://github.com/as2811-project/AU-Elec-Data-Pipeline","commit_stats":null,"previous_names":["as2811-project/au-elec-data-pipeline"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as2811-project%2FAU-Elec-Data-Pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as2811-project%2FAU-Elec-Data-Pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as2811-project%2FAU-Elec-Data-Pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as2811-project%2FAU-Elec-Data-Pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/as2811-project","download_url":"https://codeload.github.com/as2811-project/AU-Elec-Data-Pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as2811-project%2FAU-Elec-Data-Pipeline/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258841299,"owners_count":22766288,"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-ec2","data-science","kafka","postgres","supabase"],"created_at":"2025-02-21T03:16:52.457Z","updated_at":"2026-05-08T04:41:00.592Z","avatar_url":"https://github.com/as2811-project.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AEMO Electricity Generation Data Pipeline\n\nThis is a data pipeline created for streaming state-wise electricity data from AEMO to a PostgreSQL database (Supabase) using Kafka.\n\n## Feature\n\n- Live data updates: The producer fetches data from AEMO's API and updates the corresponding state's table in the database once every 5 minutes.\n\n## Installation\n\n1. Clone the repo\n2. Install the required dependencies from the requirements.txt file\n\n## Usage\n\n- Store your Postgres URI in a .env file as \"DB_URL\"\n- Spin up an AWS EC2 instance (Ubuntu). Install Kafka and Java.\n- Configure Kafka in the EC2 instance. Uncomment 'advertised_listeners' and add your EC2 instance's public IP address here. Start Zookeeper and Kafka server.\n- In the instance's security rules, allow incoming traffic from your IP address only. Then, start your producer and consumer.\n- Replace the IP address here with your instance's IP address.\n- Run the initial_batch.py script to fetch the first batch of data into your database.\n- Run the producer and consumer scripts for updates.\n\n**Acknowledgement: The data is from AEMO's wonderful dashboard. Link below:**\n\nhttps://aemo.com.au/energy-systems/electricity/national-electricity-market-nem/data-nem/data-dashboard-nem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas2811-project%2Fau-elec-data-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fas2811-project%2Fau-elec-data-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas2811-project%2Fau-elec-data-pipeline/lists"}