Skip to content

Commit

Permalink
[FLINK-24325][connectors/elasticsearch] Remove Elasticsearch 5 from c…
Browse files Browse the repository at this point in the history
…onnectors
  • Loading branch information
alpreu authored and AHeise committed Nov 29, 2021
1 parent f8f6935 commit 9649f45
Show file tree
Hide file tree
Showing 34 changed files with 304 additions and 2,346 deletions.
16 changes: 15 additions & 1 deletion flink-connectors/flink-connector-elasticsearch-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ under the License.

<!-- Allow users to pass custom connector versions -->
<properties>
<elasticsearch.version>5.3.3</elasticsearch.version>
<elasticsearch.version>7.5.1</elasticsearch.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -85,6 +85,20 @@ under the License.

<!-- Tests -->

<!-- For PrebuiltTransportClient use in test -->
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>transport</artifactId>
<version>${elasticsearch.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>elasticsearch</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-test-utils</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,10 @@ void configureBulkProcessorBackoff(
* Creates a {@link RequestIndexer} that is able to work with {@link BulkProcessor} binary
* compatible.
*/
default RequestIndexer createBulkProcessorIndexer(
RequestIndexer createBulkProcessorIndexer(
BulkProcessor bulkProcessor,
boolean flushOnCheckpoint,
AtomicLong numPendingRequestsRef) {
return new PreElasticsearch6BulkProcessorIndexer(
bulkProcessor, flushOnCheckpoint, numPendingRequestsRef);
}
AtomicLong numPendingRequestsRef);

/** Perform any necessary state cleanup. */
default void cleanup() {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9649f45

Please sign in to comment.