Galaxy for server side of mobile application with RESTful architectures.
JDK >= 1.8.x
基础模块,定义容器、异常、通用工具类等。
数据&缓存模块,包含Redis-Cluster、Druid连接池、数据源配置等。
消息队列模块,包含Kafka的Producer和Consumer。
定时任务(数据刷新)。
导入SQL到MySQL,执行source data/src/main/resources/database/galaxy-x.x.sql
mvn
打包会生成tar
包,scp
到目标机后执行tar xvf galaxy-worker.tar.gz
,切换到目录cd galaxy-worker/bin
执行start.sh
即可。
参考Dubbo