2

flight-tracker-demo:一个Quarkus + Kafka演示源码项目

 1 year ago
source link: https://www.jdon.com/61157
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

flight-tracker-demo:一个Quarkus + Kafka演示源码项目
这个实时航班跟踪器演示展示如何使用Quarkus + Kafka架构,项目点击标题进入:

architecture.png

安装:
从存储库的根目录:

  1. 运行./mvnw clean install -pl :flight-tracker-common以构建common模块并将其 jar 安装到本地 Maven 存储库中。
  2. 运行./mvnw clean quarkus:dev -pl :flight-tracker-data-simulator以启动data-simulatorQuarkus 应用程序。
  3. 打开另一个终端并运行./mvnw clean quarkus:dev -pl :flight-tracker-data-aggregator以启动data-aggregatorQuarkus 应用程序。
  4. 打开另一个终端并运行./mvnw clean quarkus:dev -pl :flight-tracker-map-service以启动map-serviceQuarkus 应用程序。
  5. 打开http://localhost:8090并开始使用 UI。

此演示不需要任何本地 Kafka 服务器或 PostgreSQL 服务器。借助Quarkus 开发服务,Quarkus 将自动以开发模式 ( quarkus:dev)启动这些服务器。Kafka Dev Service 将在演示的所有应用程序之间共享,这意味着应用程序将能够自动通过 Kafka 主题交换消息。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK