Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datax-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄营
datax-cloud
Commits
2748b800
Commit
2748b800
authored
Apr 02, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0.0项目初始化
parent
0e8bab8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
86 deletions
+0
-86
data-websocket-dev.yml
...x-config/src/main/resources/config/data-websocket-dev.yml
+0
-86
No files found.
datax-config/src/main/resources/config/data-websocket-dev.yml
deleted
100644 → 0
View file @
0e8bab8a
# 数据源配置
spring
:
redis
:
database
:
1
host
:
127.0.0.1
port
:
6379
password
:
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle
:
10
# 连接池中的最大空闲连接
min-idle
:
5
# 连接池中的最小空闲连接
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://127.0.0.1:3306/data_cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
1234@abcd
type
:
com.zaxxer.hikari.HikariDataSource
hikari
:
auto-commit
:
false
connection-timeout
:
30000
idle-timeout
:
25000
login-timeout
:
5
max-lifetime
:
30000
read-only
:
false
validation-timeout
:
3000
maximum-pool-size
:
15
minimum-idle
:
5
pool-name
:
ExpendHikariCP
connection-test-query
:
SELECT 1 FROM DUAL
data-source-properties
:
cachePrepStmts
:
true
prepStmtCacheSize
:
250
prepStmtCacheSqlLimit
:
2048
useServerPrepStmts
:
true
useLocalSessionState
:
true
rewriteBatchedStatements
:
true
cacheResultSetMetadata
:
true
cacheServerConfiguration
:
true
elideSetAutoCommits
:
true
maintainTimeStats
:
false
tio
:
websocket
:
server
:
# websocket port default 9876
port
:
9876
# 心跳时间
heartbeat-timeout
:
60000
use-scanner
:
false
# 集群配置 默认关闭
cluster
:
enabled
:
false
# 集群是通过redis的Pub/Sub实现,所以需要配置Redis
redis
:
config-path
:
ip
:
127.0.0.1
port
:
6379
all
:
true
group
:
true
ip
:
true
user
:
true
# SSL配置
ssl
:
enabled
:
false
key-store
:
test
password
:
test
trust-store
:
test
#security:
# oauth2:
# client:
# access-token-uri: http://localhost:8612/auth/oauth/token
# user-authorization-uri: http://localhost:8612/auth/oauth/authorize
# client-id: cloudx
# client-secret: 123456
# scope: server
# # 默认放行url,如果子模块重写这里的配置就会被覆盖
# ignore-urls:
# - /actuator/**
# - /v2/api-docs/**
# - /swagger-resources/**
# - /swagger-ui.html
# - /webjars/**
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment