{"id":22342577,"url":"https://github.com/omalperera/realtime-data-streaming-simulator","last_synced_at":"2026-06-20T06:32:04.971Z","repository":{"id":126435626,"uuid":"115713201","full_name":"OmalPerera/realtime-data-streaming-simulator","owner":"OmalPerera","description":"Real-Time IoT data Simulator written in Scala lang to feed kafka Producer","archived":false,"fork":false,"pushed_at":"2017-12-30T22:53:26.000Z","size":7161,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T16:57:04.608Z","etag":null,"topics":["apache-kafka","real-time","simulator","streaming","streaming-data"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OmalPerera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-12-29T10:30:34.000Z","updated_at":"2025-07-14T18:02:53.000Z","dependencies_parsed_at":"2023-06-16T19:23:29.536Z","dependency_job_id":null,"html_url":"https://github.com/OmalPerera/realtime-data-streaming-simulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OmalPerera/realtime-data-streaming-simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmalPerera%2Frealtime-data-streaming-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmalPerera%2Frealtime-data-streaming-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmalPerera%2Frealtime-data-streaming-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmalPerera%2Frealtime-data-streaming-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmalPerera","download_url":"https://codeload.github.com/OmalPerera/realtime-data-streaming-simulator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmalPerera%2Frealtime-data-streaming-simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34560265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["apache-kafka","real-time","simulator","streaming","streaming-data"],"created_at":"2024-12-04T08:13:04.896Z","updated_at":"2026-06-20T06:32:04.951Z","avatar_url":"https://github.com/OmalPerera.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Realtime IoT Data Streaming Simulator\nReal Time IoT data Simulator in Scala lang to feed kafka\n\n## Cloning the project\n    git clone https://github.com/OmalPerera/realtime-data-streaming-simulator.git\n    \n## Configuring \u0026 Run the project\n\nYou should configure following libararies in order to run this project.\n- JAVA\n- Scala (v2.11.11 Recommended) [_scala-lang.org installation guide_](https://www.scala-lang.org/download/2.11.11.html)\n- Apache Kafka (0.10.2.0 Recommended) [_installation Guide_](https://omalperera.github.io/general/bigdata/2017/11/10/Setting-Up-Apache-Kafka-localy.html)\n- Maven [_installation Guide for Mac_](https://omalperera.github.io/howto/2017/12/21/Install-Maven-on-Mac-OSX.html)\n\n\u003cbr\u003e\n\nHere onwards navigate to your downloaded **kafka directory** in terminal \u0026 execute following commands. Each command should be execute on seperater terminal tabs.\n\n#### Starting Zookeeper Server\n    sudo bin/zookeeper-server-start.sh config/zookeeper.properties\n     \n#### Starting Kafka Server\n    sudo bin/kafka-server-start.sh config/server.properties\n    \n#### Creating a topic\n    sudo bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test \n    \n#### Running the consumer on console\n    sudo bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic test\n    \n#### Run the `dataGenerator`\nNow navigate to the directory where you cloned the project \u0026 execute following commands.\n    \n    mvn clean package\n    java -jar dist/RDS-Simulator-1.0.jar\n    \nThat's it! Now check the kafka Console Consumer\n\n\n## Customizations\n\n#### Passing Arguments with .jar\nIn any case of changing the defalut values to following, pass the command line arguments, which will override the default values.\n    \n    brokers,topic,timeInterval\n\n#### Changing the data Structure\nYou can add your own data structure \u0026 patterns. Code is direct forward\n\n    val citiesInNewYork = List(\"Elmira\", \"Oneonta\", \"Peekskill\", \"Albany\", \"Yonkers\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomalperera%2Frealtime-data-streaming-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomalperera%2Frealtime-data-streaming-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomalperera%2Frealtime-data-streaming-simulator/lists"}