Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
messageflow
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
虞诚毅
messageflow
Commits
79608b31
Commit
79608b31
authored
Oct 08, 2018
by
shentao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2018/10/8 新采集系统上线前版本
parent
7dae5edc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
10 deletions
+7
-10
pom.xml
+1
-1
src/main/java/com/zhiwei/messageflow/DirectES4RedisThread.java
+2
-1
src/main/java/com/zhiwei/messageflow/ES4RedisThreadNew.java
+2
-2
src/main/resources/middleware.properties
+2
-2
src/main/resources/redis.properties
+0
-4
No files found.
pom.xml
View file @
79608b31
...
...
@@ -45,7 +45,7 @@
<dependency>
<groupId>
com.zhiwei
</groupId>
<artifactId>
es-client
</artifactId>
<version>
1.
2
</version>
<version>
1.
3
</version>
</dependency>
<dependency>
...
...
src/main/java/com/zhiwei/messageflow/DirectES4RedisThread.java
View file @
79608b31
...
...
@@ -24,7 +24,8 @@ public class DirectES4RedisThread extends Thread {
// 定向渠道组list
private
List
<
DirectGroup
>
dgList
;
// 单个平台单个关键词组每次查询数量
private
static
final
int
count
=
20
;
// private static final int count = 20;
private
static
final
int
count
=
300
;
private
DirectES4RedisTask
directES4RedisTask
;
...
...
src/main/java/com/zhiwei/messageflow/ES4RedisThreadNew.java
View file @
79608b31
...
...
@@ -29,8 +29,8 @@ public class ES4RedisThreadNew extends Thread {
private
ES4RedisTask
es4RedisTask
;
// 单个平台单个关键词组每次查询数量
//
private static final int count = 300;
private
static
final
int
count
=
10
;
private
static
final
int
count
=
300
;
//
private static final int count = 10;
// private static final int max_Thread_num = 40;
// private static int Thread_num = 0;
...
...
src/main/resources/middleware.properties
View file @
79608b31
#middleware.zookeeperIp=zookeeper://192.168.0.234:2181
middleware.zookeeperIp
=
zookeeper://192.168.0.203:2181
\ No newline at end of file
middleware.zookeeperIp
=
zookeeper://192.168.0.203:2181;zookeeper://192.168.0.104:2181;zookeeper://192.168.0.105:2181;
\ No newline at end of file
src/main/resources/redis.properties
View file @
79608b31
...
...
@@ -2,10 +2,6 @@ redis.maxTotal=2048
redis.maxIdle
=
200
redis.maxWaitMillis
=
1000
redis.testOnBorrow
=
true
redis.maxTotal
=
2048
redis.maxIdle
=
200
redis.maxWaitMillis
=
1000
redis.testOnBorrow
=
true
redis.testOnReturn
=
true
redis.ip
=
192.168.0.202
#redis.ip = 202.107.192.94
...
...
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