wuchong commented on a change in pull request #11466: [FLINK-15400][connectors
/ elasticsearch] elasticsearch table sink support dynamic index.
URL: https://github.com/apache/flink/pull/11466#discussion_r410033447
##########
File path:
flink-connectors/flink-connector-elasticsearch-base/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/ElasticsearchSinkFunction.java
##########
@@ -69,4 +69,9 @@
* @param indexer request indexer that {@code ActionRequest} should be
added to
*/
void process(T element, RuntimeContext ctx, RequestIndexer indexer);
+
+ /**
+ * General-purpose open method.
+ */
+ default void open() {}
Review comment:
Move the `open` on top of `process`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services