You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jiabao-Sun (via GitHub)" <gi...@apache.org> on 2023/04/03 12:46:25 UTC

[GitHub] [flink-connector-mongodb] Jiabao-Sun opened a new pull request, #5: [FLINK-31700][Connectors/MongoDB] Fix MongoDB nightly CI failure

Jiabao-Sun opened a new pull request, #5:
URL: https://github.com/apache/flink-connector-mongodb/pull/5

   Fix MongoDB nightly CI failure
   https://issues.apache.org/jira/browse/FLINK-31700
   
   > Error:  /home/runner/work/flink-connector-mongodb/flink-connector-mongodb/flink-connector-mongodb/src/main/java/org/apache/flink/connector/mongodb/sink/writer/context/DefaultMongoSinkContext.java:[33,8] org.apache.flink.connector.mongodb.sink.writer.context.DefaultMongoSinkContext is not abstract and does not override abstract method getAttemptNumber() in org.apache.flink.api.connector.sink2.Sink.InitContext
   
   This PR made some changes to make flink-mongodb-connector compatible with both 1.16 and 1.17.
   
   We can build it of flink 1.17 via maven command as follows: 
   ```shell
   mvn clean verify -U -B --no-transfer-progress -Dflink.version=1.17.0 \         
       -DaltDeploymentRepository=validation_repository::default::file:/tmp/flink-validation-deployment \
       -Dscala-2.12 -Darchunit.version=1.0.0
   ```
   
   The version of archunit.version seems not compatible from flink 1.16(0.22.0) to flink 1.17(1.0.0).
   https://newreleases.io/project/github/TNG/ArchUnit/release/v0.23.0
   We need to manually specify the version and introduce additional configuration `archRule.failOnEmptyShould=false` to keep compatibility.
   
   


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink-connector-mongodb] Jiabao-Sun commented on pull request #5: [FLINK-31700][Connectors/MongoDB] Fix MongoDB nightly CI failure

Posted by "Jiabao-Sun (via GitHub)" <gi...@apache.org>.
Jiabao-Sun commented on PR #5:
URL: https://github.com/apache/flink-connector-mongodb/pull/5#issuecomment-1494262715

   Hi @dannycranmer.
   Could you help review it when you have time?


-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink-connector-mongodb] dannycranmer merged pull request #5: [FLINK-31700][Connectors/MongoDB] Fix MongoDB nightly CI failure

Posted by "dannycranmer (via GitHub)" <gi...@apache.org>.
dannycranmer merged PR #5:
URL: https://github.com/apache/flink-connector-mongodb/pull/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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org