解决部分source_country为空的问题
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.zdjizhi</groupId>
|
||||
<artifactId>flink-dos-detection</artifactId>
|
||||
<version>24-08-16</version>
|
||||
<version>24-09-25</version>
|
||||
|
||||
<name>flink-dos-detection</name>
|
||||
<url>http://www.example.com</url>
|
||||
@@ -80,7 +80,7 @@
|
||||
</goals>
|
||||
|
||||
<configuration>
|
||||
<finalName>flink-dos-detection-24-08-16</finalName>
|
||||
<finalName>flink-dos-detection-24-09-25</finalName>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>org.apache.http</pattern>
|
||||
|
||||
@@ -20,7 +20,7 @@ public class MetricsAggregationReduce implements ReduceFunction<DosSketchLog> {
|
||||
value1.setEnd_timestamp_ms(value2.getEnd_timestamp_ms());
|
||||
}
|
||||
value1.getClient_ips().addAll(value2.getClient_ips());
|
||||
value2.getClient_countrys().addAll(value2.getClient_countrys());
|
||||
value1.getClient_countrys().addAll(value2.getClient_countrys());
|
||||
return value1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user