v.20.5New Feature
Allow Specifying MongoDB URI for Dictionaries
Allow specifying mongodb:// URI for MongoDB dictionaries. #10915 (Alexander Kuzmenkov).Why it matters
This feature enables users to configure MongoDB dictionaries using a standard MongoDB connection URI. It simplifies the dictionary setup process by allowing a concise and familiar way to specify connection parameters in one string, improving usability and reducing configuration errors.How to use it
To use this feature, specify the MongoDB dictionary'smongodb:// URI directly in the dictionary configuration file under the appropriate connection settings. For example:<dictionary>
<name>mongodb_dict</name>
<source>
<mongodb>
<uri>mongodb://user:password@host:port/database.collection</uri>
</mongodb>
</source>
</dictionary>