Skip to content

Commit

Permalink
[hotfix] Add support for jdk 17, 21
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin committed Apr 13, 2024
1 parent 64d40a8 commit 244b0ec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flink-connector-opensearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ under the License.

<!-- Allow users to pass custom connector versions -->
<properties>
<opensearch.version>1.3.0</opensearch.version>
<opensearch.version>1.3.14</opensearch.version>
<flink.connector.module.config><!-- required by
OpensearchSinkITCase --> --add-opens=java.base/java.lang=ALL-UNNAMED <!--
OpensearchSinkITCase --> --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED <!--
OpensearchDynamicSinkITCase --> --add-opens=java.base/java.util=ALL-UNNAMED </flink.connector.module.config>
</properties>

<dependencies>
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ under the License.
<log4j.version>2.17.2</log4j.version>

<flink.parent.artifactId>flink-connector-opensearch-parent</flink.parent.artifactId>
<!-- This property should contain the add-opens/add-exports commands required for the tests
in the given connector's module to pass.
It MUST be a space-separated list not containing any newlines,
of entries in the form '[-]{2}add-[opens|exports]=<module>/<package>=ALL-UNNAMED'.-->
<flink.connector.module.config/>
<flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m -XX:+IgnoreUnrecognizedVMOptions ${flink.connector.module.config}</flink.surefire.baseArgLine>
</properties>

<dependencies>
Expand Down

0 comments on commit 244b0ec

Please sign in to comment.