Driver configuration properties for single instance mongodb #645
Answered
by
osantana85
coderdiksha
asked this question in
Q&A
-
I want to run migration against a single mongodb instance running inside docker container without any replica set. What should be the values to choose for writeConcern, journal, readConcern, readPreference?
|
Beta Was this translation helpful? Give feedback.
Answered by
osantana85
Oct 19, 2023
Replies: 1 comment
-
Hello @coderdiksha , did you try setting In the properties file:
With the builder approach:
Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dieppa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @coderdiksha , did you try setting
transactionEnabled
configuration property to false?In the properties file:
With the builder approach:
Hope this helps.