You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elasticsearch5/elasticsearch5-sink/src/main/java/com/dtstack/flink/sql/sink/elasticsearch/CustomerSinkFunc.java
+25-14Lines changed: 25 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -53,23 +53,24 @@ public class CustomerSinkFunc implements ElasticsearchSinkFunction<Tuple2> {
53
53
54
54
privateStringtype;
55
55
56
-
privateList<Integer> idFieldIndexList;
56
+
privateList<Object> ids;
57
+
58
+
// true means generation doc's id by position "1[,1]"
Copy file name to clipboardExpand all lines: elasticsearch5/elasticsearch5-sink/src/main/java/com/dtstack/flink/sql/sink/elasticsearch/ElasticsearchSink.java
Copy file name to clipboardExpand all lines: elasticsearch5/elasticsearch5-sink/src/main/java/com/dtstack/flink/sql/sink/elasticsearch/MetricElasticsearchSink.java
Copy file name to clipboardExpand all lines: elasticsearch5/elasticsearch5-sink/src/main/java/com/dtstack/flink/sql/sink/elasticsearch/table/ElasticsearchTableInfo.java
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -134,12 +134,6 @@ public boolean check() {
134
134
Preconditions.checkNotNull(esType, "elasticsearch type of type is required");
135
135
Preconditions.checkNotNull(clusterName, "elasticsearch type of clusterName is required");
Copy file name to clipboardExpand all lines: elasticsearch5/elasticsearch5-sink/src/test/java/com/dtstack/flink/sql/sink/elasticsearch/CustomerSinkFuncTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,13 +32,13 @@ public class CustomerSinkFuncTest {
Copy file name to clipboardExpand all lines: elasticsearch5/elasticsearch5-sink/src/test/java/com/dtstack/flink/sql/sink/elasticsearch/MetricElasticsearchSinkTest.java
0 commit comments