123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- server:
- port: 8029
- netty:
- connection-timeout: 8000
- spring:
- # redis:
- # # host: 49.4.50.80
- # host: 10.83.68.94
- # port: 6379
- # timeout: 100000
- # # 集群环境打开下面注释,单机不需要打开
- # # cluster:
- # # 集群信息
- # # nodes: xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx
- # # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
- # # maxRedirects: 3
- # password:
- # application:
- # name: test
- # jedis:
- # pool:
- # max-active: 8
- # min-idle: 0
- # max-idle: 8
- # max-wait: -1
- # database: 1
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: oracle.jdbc.OracleDriver
- #外网
- url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
- # url: jdbc:oracle:thin:@49.4.50.80:1521:gdnxfd
- # url: jdbc:oracle:thin:@172.168.1.14:1521:gdnxfd
- username: gdprod
- password: gd123
- oracle-schema=:
- # type: com.alibaba.druid.pool.DruidDataSource
- # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
- # username: root
- # password: root
- # driver-class-name: com.mysql.jdbc.Driver
- druid:
- max-active: 20
- initial-size: 1
- min-idle: 3
- max-wait: 60000
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 300000
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- #热启动
- devtools:
- restart:
- enabled: true
- additional-paths: src/main/java
- exclude: test/**
- timeseries:
- db-type: redis #"${DATABASE_TYPE:sql}" # cassandra/kairosDB/hbase/opentsDB/influxDB/TiDB
- #taos数据库
- taos:
- server_ip: 10.83.68.154
- server_port: 6030
- user_name: root
- password: taosdata
- pool_size: 5
- max_pool_size: 20
- database: hebei
- ##taos数据库
- #mongodb:
- # mongodb_ip: 10.83.68.94
- # mongodb_port: 27017
- # mongodb_perHost: 200
- # mongodb_threadsAllowed: 200
- # mongodb_connectTimeout: 60000
- # mongodb_maxWaitTime: 60000
- # mongodb_socketTimeout: 60000
- #适配器测点表
- windturbine.point.table_name: view_tspoint
- #备注
- #1、安装taos数据库客户端
- #2、配置C:\TDengine\cfg\taos.cfg文件
- #3、配置hosts文件
- #4、修改pom.xml文件的涛思数据库版本
- #5、修改application.yaml文件hive、taos的ip、port等
- #6、涛思数据库的版本要与服务器保持一致
- #7、部署时在服务器安装taos数据库客户端
|