spuru9 opened a new pull request, #83: URL: https://github.com/apache/flink-connector-mongodb/pull/83
## Purpose of the change [FLINK-41462](https://issues.apache.org/jira/browse/FLINK-41462), a subtask of [FLINK-41413](https://issues.apache.org/jira/browse/FLINK-41413): add MongoDB 9.0 to the tested versions. The 8.0 part of FLINK-41413 already landed in #80 (FLINK-41460). ## Brief change log - Bump `mongodb.driver.version` from 5.11.1 to 5.14.0, which adds MongoDB 9.0 support (JAVA-6164). - Update the bundled `bson`, `mongodb-driver-core` and `mongodb-driver-sync` versions in the SQL connector's `META-INF/NOTICE`. They still listed 5.1.1. - Add a `mongodb9` profile pinned to `9.0.8` and add it to the `push_pr.yml` matrix. 9.0.4 is the first 9.0 release that starts on the ubuntu-26.04 runner kernel (SERVER-131779). - `AGENTS.md`: list the `mongodb8` and `mongodb9` profiles. ## Verifying this change Ran `./mvnw clean verify -Prun-end-to-end-tests -P<profile>` on Flink 2.2.1 and JDK 21 for each profile from `mongodb4` to `mongodb9`: | Module | Tests | |---|---| | `flink-connector-mongodb` (unit + IT) | 58 + 48 | | `flink-connector-mongodb-e2e-tests` | 2 | | `flink-connector-mongodb-table-tests` | 9 | - Every test passed on every profile. `mongodb4` and `mongodb6` each needed one rerun because of local environment errors (a Testcontainers Ryuk connection failure and a MiniCluster network disconnect). Neither log contained MongoDB errors. - Dependency convergence (`-Pcheck-convergence`) passes. - The shaded `flink-sql-connector-mongodb` jar bundles `bson`, `mongodb-driver-core` and `mongodb-driver-sync` 5.14.0, which matches the NOTICE. - I did not run Flink 2.1.3, JDK 11/17 or the ubuntu-26.04 runner kernel locally. PR CI covers them. ## Impact and documentation - The bundled MongoDB Java driver changes from 5.11.1 to 5.14.0. - No API or connector behavior changes. The docs don't list supported server versions, so no doc changes are needed. - #82 (FLINK-41469) restructures the `push_pr.yml` matrix. If #82 merges first, I'll rebase and add `mongodb9` to its `mongo_versions` list. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (claude-opus-5-5) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
