hailin0 commented on code in PR #4620:
URL:
https://github.com/apache/incubator-seatunnel/pull/4620#discussion_r1174526821
##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-mongodb-e2e/src/test/resources/mongodb_source_to_assert.conf:
##########
@@ -19,55 +19,102 @@
######
env {
- # You can set flink configuration here
execution.parallelism = 1
job.mode = "BATCH"
- #execution.checkpoint.interval = 10000
- #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint"
+ #spark config
+ spark.app.name = "SeaTunnel"
+ spark.executor.instances = 1
+ spark.executor.cores = 1
+ spark.executor.memory = "1g"
+ spark.master = local
}
source {
- MongoDB {
- uri =
"mongodb://e2e_mongodb:27017/test_db?retryWrites=true&writeConcern=majority"
+ Mongodb {
+ uri = "mongodb://e2e_mongodb:27017/test_db"
database = "test_db"
- collection = "source_table"
+ collection = "sink_table"
+ no-timeout = true
Review Comment:
Unify the parameter naming style
##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-mongodb-e2e/src/test/resources/mongodb_source_to_assert.conf:
##########
@@ -19,55 +19,102 @@
######
env {
- # You can set flink configuration here
execution.parallelism = 1
job.mode = "BATCH"
- #execution.checkpoint.interval = 10000
- #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint"
+ #spark config
+ spark.app.name = "SeaTunnel"
+ spark.executor.instances = 1
+ spark.executor.cores = 1
+ spark.executor.memory = "1g"
+ spark.master = local
}
source {
- MongoDB {
- uri =
"mongodb://e2e_mongodb:27017/test_db?retryWrites=true&writeConcern=majority"
+ Mongodb {
Review Comment:
why change this name
--
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]