1、更新docker-compose的zookeeper镜像

2、nacos的sql文件配置
3、启动 austin-stream的脚本
pull/87/head
3y 6 months ago
parent 89a07f34fa
commit 1028cc6e82

@ -34,7 +34,7 @@
</p>
:fire:项目在线演示地址:[http://106.75.176.183:3001](http://106.75.176.183:3001)
:fire:项目在线演示地址:[http://106.75.145.128:3001](http://106.75.145.128:3001)
:fire:**11W+字共107个文档带你玩转austin**,详情可戳:[消息推送平台文档](https://www.yuque.com/u1047901/eg5qvy/hh0gk5p4uwie8bva)

@ -25,6 +25,7 @@ spring.datasource.hikari.validation-timeout=1000
spring.redis.host=${austin.redis.ip:austin-redis}
spring.redis.port=${austin.redis.port:6379}
spring.redis.password=${austin.redis.password:austin}
spring.redis.connect-timeout=10s
########################################## redis end ##########################################

@ -31,9 +31,9 @@ CREATE TABLE IF NOT EXISTS `config_info`
CREATE TABLE IF NOT EXISTS `config_info_aggr`
(
`id` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
`data_id` VARCHAR(255) NOT NULL COMMENT 'data_id',
`group_id` VARCHAR(255) NOT NULL COMMENT 'group_id',
`datum_id` VARCHAR(255) NOT NULL COMMENT 'datum_id',
`data_id` VARCHAR(128 NOT NULL COMMENT 'data_id',
`group_id` VARCHAR(128) NOT NULL COMMENT 'group_id',
`datum_id` VARCHAR(128) NOT NULL COMMENT 'datum_id',
`content` LONGTEXT NOT NULL COMMENT '内容',
`gmt_modified` DATETIME NOT NULL COMMENT '修改时间',
`app_name` VARCHAR(128) DEFAULT NULL,

@ -30,7 +30,7 @@ services:
networks:
- app
austin-zookeeper:
image: wurstmeister/zookeeper
image: zookeeper:3.8.4
container_name: austin-zookeeper
volumes:
- "/etc/localtime:/etc/localtime"

@ -1,7 +1,14 @@
#!/bin/bash
docker cp ./austin-stream/target/austin-stream-0.0.1-SNAPSHOT.jar austin_jobmanager_1:/opt/
docker exec -ti austin_jobmanager_1 flink run /opt/austin-stream-0.0.1-SNAPSHOT.jar
BASE_DIR="$(cd "$(dirname "$0")" && pwd)"
JAR_PATH="$BASE_DIR/austin-stream/target/austin-stream-0.0.1-SNAPSHOT.jar"
if [[ ! -f "$JAR_PATH" ]]; then
echo "jar 不存在: $JAR_PATH" >&2
exit 1
fi
docker cp "$JAR_PATH" austin-jobmanager-1:/opt/austin-stream-0.0.1-SNAPSHOT.jar
docker exec -ti austin-jobmanager-1 flink run /opt/austin-stream-0.0.1-SNAPSHOT.jar
# stream local test
# docker cp ./austin-stream-0.0.1-SNAPSHOT.jar austin_jobmanager_1:/opt/austin-stream-test-0.0.1-SNAPSHOT.jar

Loading…
Cancel
Save