Hisoka-X commented on code in PR #4349:
URL:
https://github.com/apache/incubator-seatunnel/pull/4349#discussion_r1144160664
##########
seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/sink/ElasticsearchSinkWriter.java:
##########
@@ -116,6 +157,9 @@ public synchronized void bulkEsWithRetry(
ElasticsearchConnectorErrorCode.BULK_RESPONSE_ERROR,
"bulk es error: " +
bulkResponse.getResponse());
}
+ log.info(
Review Comment:
Seem like don't a better way to flush data without `ScheduledTask`. `run
Thead.sleep(batchIntervalMs) after bulk request` will lead data flush more
slower, not more faster.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]