Jiabao-Sun commented on code in PR #41: URL: https://github.com/apache/flink-connector-mongodb/pull/41#discussion_r1719375910
########## flink-connector-mongodb/src/test/java/org/apache/flink/connector/mongodb/testutils/MongoTestUtil.java: ########## @@ -62,7 +62,7 @@ private MongoTestUtil() {} * @return configured MongoDB container */ public static MongoDBContainer createMongoDBContainer(Logger logger) { - return new MongoDBContainer(DockerImageName.parse(MONGO_4_0)) + return new MongoDBContainer(mongoDockerImageName()) .withLogConsumer(new Slf4jLogConsumer(logger)); } Review Comment: Since subsequent configuration items can still be set using chained calls after constructing `MongoDBContainer`, the `Logger` parameter is removed here to gain greater flexibility. -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org