apache pinot-docker-compose 运行试用

apache pinot 是一个实时的OLAP 数据存储,同时包含了自己的查询语言,因为maven 构建花费时间较大
所以使用docker-compose 运行

docker-compose 文件

 
version: "3.7"
services: 
  app:
    image: winedepot/pinot:0.1.4-SNAPSHOT
    entrypoint: ./bin/quick-start-offline.sh
    ports: 
    - "9000:9000"
    - "8099:8099"
    - "8098:8098"
    - "8097:8097"
    - "8096:8096"
    - "9514:9514"

说明
这个一个简单的quick-start-offline.sh 运行,实际可以结合场景进行修改

启动&&测试

  • 启动
docker-compose up -d
  • 查询

注意先打开http://localhost:9000,因为这个系统属于单页面应用,直接打开http://localhost:9000/query 会提示
资源找不到,这个是一个坑,但是使用maven 构建之后也是同时的错误,所以才改为docker 运行的

说明

apache pinot 的功能还是比较强大,以下为一个参考架构,后边可以深入研究下

参考资料

https://pinot.readthedocs.io/en/latest/architecture.html
https://github.com/rongfengliang/apache-pinot-docker-compose

原文地址:https://www.cnblogs.com/rongfengliang/p/11323590.html