{"id":15508268,"url":"https://github.com/jponge/demo-brujug-2019","last_synced_at":"2026-04-19T15:07:00.421Z","repository":{"id":66511399,"uuid":"192701338","full_name":"jponge/demo-brujug-2019","owner":"jponge","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-19T09:28:04.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-20T22:24:44.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jponge.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":"2019-06-19T09:26:57.000Z","updated_at":"2019-06-19T09:27:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"5693d484-2746-40e9-b17c-7043346295ff","html_url":"https://github.com/jponge/demo-brujug-2019","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"f294650199bfb1d02ff3f1ec6c2a50550eed168e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jponge/demo-brujug-2019","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fdemo-brujug-2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fdemo-brujug-2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fdemo-brujug-2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fdemo-brujug-2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jponge","download_url":"https://codeload.github.com/jponge/demo-brujug-2019/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fdemo-brujug-2019/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":[],"created_at":"2024-10-02T09:36:49.095Z","updated_at":"2026-04-19T15:07:00.401Z","avatar_url":"https://github.com/jponge.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LavaJUG 2019 Eclipse Vert.x demo\n\nInitial implementation by [Julien Ponge](https://julien.ponge.org/) at _Red Hat, Inc_.\n\n## Scenario\n\nThis demo shows various aspects of Vert.x around the toy scenario of tyres that send pressure updates to some backend.\n\nIt especially shows:\n\n* HTTP APIs to store and query data in MongoDB,\n* implementation of a _edge service_ with RxJava2 that aggregates data from 3 other HTTP services,\n* Kafka-based event streaming with live updates to a web application plugged on the Vert.x event-bus.\n\n## How to run it\n\nJust enjoy live reload\n\n    # In one terminal\n    $ docker compose-up\n\n    # In a second terminal\n    $ ./gradlew vertxRun\n\n    # In a third terminal, have fun with the APIs:\n    $ http POST :3000/ingest tyreId=123 pressure:=12.5\n    # (...)\n\nThe Kafka example is not running from the `vertxRun` task to avoid polluting the logs, you can just run each instance from the `main` method of the classes in `demo.eventdriven` from your IDE.\n\n## How to generate some workload\n\nSee `locustfile.py` with sections to uncomment to generate traffic to the HTTP APIs with [Locust](https://locust.io/).\n\nIt's not worth focusing on the reported data, since all instances are running as single verticles, and everything happens on the same machine anyway.\nI also have no idea of how _correct_ Locust is, especially with respect to _coordinated omission_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjponge%2Fdemo-brujug-2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjponge%2Fdemo-brujug-2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjponge%2Fdemo-brujug-2019/lists"}