Replies: 1 comment
-
|
/cc @loicmathieu (mongodb) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Quarkus 3.32 (#51013) introduced capability to disable default MongoDB client: https://quarkus.io/guides/mongodb#activate-or-deactivate-mongo-clients.
This allows you to disable client in case you will create it dynamically "by hand". The problem is that even if I set
active: false, it still tries to encode/parse connection string and throws an error in case connection string is not valid:In our case we pass connection string such as:
mongodb://%s:%s@x.y.z.w....as we use that as template to replace it with username & password to get the final connection string that is then passed to the manually constructed client (MongoClientSettings settings = MongoClientSettings.builder().applyConnectionString()...).Is this expected behavior? We can do a workaround, but from the documentation I thought that feature would enable us to use the
connection-stringproperty.Beta Was this translation helpful? Give feedback.
All reactions