arroyo single docker 镜像说明
arroyo single docker 镜像使用了ubuntu 作为基础镜像,里边包含了不少服务,同时基于supervisord 进行服务管理
具体dockerfile 参考github 我简单介绍一些其他服务
supervisord配置
/opt/arroyo/src/docker/single/supervisord.conf 目录
[supervisord]
nodaemon=true
[program:postgres]
command=/usr/lib/postgresql/14/bin/postgres -c config_file=/etc/postgresql/14/main/postgresql.conf
user=postgres
priority=1
startsecs=10
autostart=true
autorestart=true
[program:prometheus]
command=/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml
autostart=true
autorestart=true
[program:pushgateway]
command=/usr/local/bin/pushgateway
autostart=true
autorestart=true
[program:api]
command=/usr/bin/arroyo-api
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/api.err.log
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
environment=ASSET_DIR="/opt/arroyo/src/arroyo-console/dist"
[program:controller]
# wait until postgres has hopefully started
command=bash -c "sleep 10; /usr/bin/arroyo-controller"
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/controller.err.log
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
environment=REMOTE_COMPILER_ENDPOINT="http://localhost:9000"
[program:compiler]
command=/usr/bin/arroyo-compiler-service
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/compiler.err.log
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
environment=BUILD_DIR="/opt/arroyo/build/pipeline",OUTPUT_DIR="/tmp/arroyo/build"
说明
以上包含一个arroyo-compiler-service,这个服务比较有意思,会将sql 编译为rust 代码,然后对于编译的文件进行存储可以是本地也可以是s3,目前s3似乎不兼容其他的,只支持aws的
参考资料
https://github.com/ArroyoSystems/arroyo/blob/master/docker/single/Dockerfile
https://github.com/ArroyoSystems/arroyo/blob/master/arroyo-compiler-service/src/main.rs
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
2021-04-11 cube.js 配置自定义basePath 扩展cube.js 多租户处理
2021-04-11 cube.js 测试Query 的方法
2021-04-11 apache kylin 大数据olap 方案
2021-04-11 k6 如何进行api 测试(demo)
2021-04-11 k6 运行大规模测试
2020-04-11 几款不错的java规则引擎
2019-04-11 Announcing the Operate Preview Release: Monitoring and Managing Cross-Microservice Workflows