diff --git a/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchAggregatedCommitInfo.java b/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchAggregatedCommitInfo.java index 9a569fe073c..f5875a97282 100644 --- a/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchAggregatedCommitInfo.java +++ b/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchAggregatedCommitInfo.java @@ -19,8 +19,4 @@ import java.io.Serializable; -/** - * Right now, we don't need aggregated commit in kafka. Todo: we need to add a default - * implementation of this state. - */ public class ElasticsearchAggregatedCommitInfo implements Serializable {} diff --git a/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchCommitInfo.java b/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchCommitInfo.java index 7b9174c360c..68cb9b2a3e4 100644 --- a/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchCommitInfo.java +++ b/seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/state/ElasticsearchCommitInfo.java @@ -17,18 +17,6 @@ package org.apache.seatunnel.connectors.seatunnel.elasticsearch.state; -import lombok.AllArgsConstructor; -import lombok.Data; - import java.io.Serializable; -import java.util.Properties; - -@Data -@AllArgsConstructor -public class ElasticsearchCommitInfo implements Serializable { - private final String transactionId; - private final Properties kafkaProperties; - private final long producerId; - private final short epoch; -} +public class ElasticsearchCommitInfo implements Serializable {}