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
723226d3
Commit
723226d3
authored
Dec 10, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lettuce连接池经常超时问题,解决方案使用jedis连接池
parent
3fa41fd6
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
26 additions
and
16 deletions
+26
-16
pom.xml
datax-common/datax-common-redis/pom.xml
+10
-0
datax-auth-dev.yml
datax-config/src/main/resources/config/datax-auth-dev.yml
+1
-1
datax-service-codegen-dev.yml
...g/src/main/resources/config/datax-service-codegen-dev.yml
+1
-1
datax-service-data-console-dev.yml
.../main/resources/config/datax-service-data-console-dev.yml
+1
-1
datax-service-data-integration-dev.yml
...n/resources/config/datax-service-data-integration-dev.yml
+1
-1
datax-service-data-mapping-dev.yml
.../main/resources/config/datax-service-data-mapping-dev.yml
+1
-1
datax-service-data-market-dev.yml
...c/main/resources/config/datax-service-data-market-dev.yml
+1
-1
datax-service-data-masterdata-dev.yml
...in/resources/config/datax-service-data-masterdata-dev.yml
+1
-1
datax-service-data-metadata-dev.yml
...main/resources/config/datax-service-data-metadata-dev.yml
+1
-1
datax-service-data-quality-dev.yml
.../main/resources/config/datax-service-data-quality-dev.yml
+1
-1
datax-service-data-standard-dev.yml
...main/resources/config/datax-service-data-standard-dev.yml
+1
-1
datax-service-data-visual-dev.yml
...c/main/resources/config/datax-service-data-visual-dev.yml
+1
-1
datax-service-email-dev.yml
...fig/src/main/resources/config/datax-service-email-dev.yml
+1
-1
datax-service-file-dev.yml
...nfig/src/main/resources/config/datax-service-file-dev.yml
+1
-1
datax-service-quartz-dev.yml
...ig/src/main/resources/config/datax-service-quartz-dev.yml
+1
-1
datax-service-system-dev.yml
...ig/src/main/resources/config/datax-service-system-dev.yml
+1
-1
datax-service-workflow-dev.yml
.../src/main/resources/config/datax-service-workflow-dev.yml
+1
-1
No files found.
datax-common/datax-common-redis/pom.xml
View file @
723226d3
...
@@ -15,6 +15,16 @@
...
@@ -15,6 +15,16 @@
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<exclusions>
<exclusion>
<groupId>
io.lettuce
</groupId>
<artifactId>
lettuce-core
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
redis.clients
</groupId>
<artifactId>
jedis
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
datax-config/src/main/resources/config/datax-auth-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-codegen-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-console-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-integration-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-mapping-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-market-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-masterdata-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-metadata-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-quality-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-standard-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-data-visual-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-email-dev.yml
View file @
723226d3
...
@@ -17,7 +17,7 @@ spring:
...
@@ -17,7 +17,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-file-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-quartz-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-system-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
datax-config/src/main/resources/config/datax-service-workflow-dev.yml
View file @
723226d3
...
@@ -6,7 +6,7 @@ spring:
...
@@ -6,7 +6,7 @@ spring:
port
:
6379
port
:
6379
password
:
1234@abcd
# 密码(默认为空)
password
:
1234@abcd
# 密码(默认为空)
timeout
:
6000ms
# 连接超时时长(毫秒)
timeout
:
6000ms
# 连接超时时长(毫秒)
lettuce
:
jedis
:
pool
:
pool
:
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-active
:
1000
# 连接池最大连接数(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
...
...
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