diff --git a/README.md b/README.md index e736b98..505c5a8 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@

-: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) diff --git a/austin-web/src/main/resources/application.properties b/austin-web/src/main/resources/application.properties index 916782f..fa7cc20 100644 --- a/austin-web/src/main/resources/application.properties +++ b/austin-web/src/main/resources/application.properties @@ -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 ########################################## diff --git a/doc/sql/nacos.sql b/doc/sql/nacos.sql index 49f4b39..c3d6bb4 100644 --- a/doc/sql/nacos.sql +++ b/doc/sql/nacos.sql @@ -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, diff --git a/docker-compose.yml b/docker-compose.yml index eb58488..2ac2ba4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" diff --git a/stream-start.sh b/stream-start.sh index da83dd4..bda4989 100644 --- a/stream-start.sh +++ b/stream-start.sh @@ -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