https://github.com/jponge/demo-vertx-gate-streaming
Vert.x and Kafka streaming based on gate activations
https://github.com/jponge/demo-vertx-gate-streaming
Last synced: about 1 year ago
JSON representation
Vert.x and Kafka streaming based on gate activations
- Host: GitHub
- URL: https://github.com/jponge/demo-vertx-gate-streaming
- Owner: jponge
- License: mit
- Created: 2019-02-12T13:27:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-12T13:44:56.000Z (about 7 years ago)
- Last Synced: 2024-10-20T22:24:44.358Z (over 1 year ago)
- Language: Java
- Size: 330 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vert.x and Kafka gate activations demo

## Scenario
Each gate simulates people passing by.
Events are streamed to Kafka, and 2 verticles observe the events:
* 1 generates total counters of activations for each gate, and
* 1 computes throughput for each gate over periods of 5 seconds.
## Simple way to run
Start Kafka and ZooKeeper:
$ docker-compose up
Then start the application:
$ ./gradlew vertxRun
Then open [http://localhost:8080/](http://localhost:8080/).