Commit 34436537 by 303514581@qq.com

2019/3/8 正式版事件采集过滤规则添加

parent 5b3f996b
......@@ -35,8 +35,8 @@ public class ES4RedisRunner implements ApplicationRunner {
// gs.getDataByeRedis("", "", 0, 0, 0);
ESGetCommonId esGetCommonId = ApplicationContextProvider.getBean("ESGetCommonId", ESGetCommonId.class);
esGetCommonId.getCommonId();
esGetCommonId.getbackupStartId();
// esGetCommonId.getStartId();
// esGetCommonId.getbackupStartId();
esGetCommonId.getStartId();
// 启动时更新事件等待采集列表中的前十个任务状态为采集完毕
boolean isSuccess = esGetCommonId.updateTopTenCollection();
......
......@@ -38,7 +38,8 @@ public class ES4RedisStart {
private Map<String, Boolean> PROJECTMAP = new HashMap<>();
private static final int PROJECTCOUNT = 10;
// private static final int PROJECTCOUNT = 10;
private static final int PROJECTCOUNT = 40;
/**
* 启动线程
......
......@@ -29,16 +29,16 @@ public class ESConfig {
public static String weiboMarkType;
/** Es IP **/
// public static final String ESIP = "1.119.44.201";
public static final String ESIP = "1.119.44.201";
// public static final String ESIP = "202.107.192.94";
public static final String ESIP = "192.168.0.120";
// public static final String ESIP = "192.168.0.120";
/** Es PORT **/
public static final int ESPORT = 9200;
/** Es 9300PORT **/
public static final int ESTCPPORT = 9300;
/** Es cluster.name **/
// public static final String CLUSTERNAME = "Media-University";
public static final String CLUSTERNAME = "my-test-es";
public static final String CLUSTERNAME = "Media-University";
// public static final String CLUSTERNAME = "my-test-es";
public static String getIp() {
......
#es.ip=192.168.1.75
#es.ip=1.119.44.201
es.ip=1.119.44.201
#es.ip=202.107.192.94
es.ip=192.168.0.120
#es.ip=192.168.0.120
#es.ip=192.168.0.234
#es.ip=115.231.214.234
#es.ip=192.168.0.11
es.esPort=9300
#es.clusterName=Media-University
es.clusterName=my-test-es
es.clusterName=Media-University
#es.clusterName=my-test-es
#es.clusterName=elasticsearch
#es.clusterName=MyEsCluster
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment