twalthr commented on a change in pull request #6391: [FLINK-9885] [FLINK-8101]
Finalize Elasticsearch 6.x
URL: https://github.com/apache/flink/pull/6391#discussion_r206503659
##########
File path:
flink-connectors/flink-connector-elasticsearch-base/src/test/java/org/apache/flink/streaming/connectors/elasticsearch/ElasticsearchSinkTestBase.java
##########
@@ -189,4 +191,10 @@ public void runInvalidElasticsearchClusterTest() throws
Exception {
*/
protected abstract ElasticsearchSinkBase<Tuple2<Integer, String>, C>
createElasticsearchSinkForEmbeddedNode(
Map<String, String> userConfig,
ElasticsearchSinkFunction<Tuple2<Integer, String>> elasticsearchSinkFunction)
throws Exception;
+
+ /**
+ * Creates a version-specific Elasticsearch sink to connect to a
specific Elasticsearch node.
+ */
+ protected abstract ElasticsearchSinkBase<Tuple2<Integer, String>, C>
createElasticsearchSinkForNode(
+ Map<String, String> userConfig,
ElasticsearchSinkFunction<Tuple2<Integer, String>> elasticsearchSinkFunction,
String ipAddress) throws Exception;
Review comment:
One line per parameter? Also the line above.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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