use of org.apache.beam.sdk.io.elasticsearch.ElasticsearchIO.Write in project beam by apache.
the class ElasticsearchIOTestCommon method testWrite.
void testWrite() throws Exception {
Write write = ElasticsearchIO.write().withConnectionConfiguration(connectionConfiguration);
executeWriteTest(write);
}
use of org.apache.beam.sdk.io.elasticsearch.ElasticsearchIO.Write in project beam by apache.
the class ElasticsearchIOTestCommon method testWriteStateful.
void testWriteStateful() throws Exception {
Write write = ElasticsearchIO.write().withConnectionConfiguration(connectionConfiguration).withUseStatefulBatches(true);
executeWriteTest(write);
}
Aggregations